summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/backchannel_rqst.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2014-02-11 09:15:54 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-02-11 09:34:30 -0500
commit06ea0bfe6e6043cb56a78935a19f6f8ebc636226 (patch)
treefac441e73156f1cdef93f3907aa69fdf2ca6c9d2 /net/sunrpc/backchannel_rqst.c
parenta699d65ec4ff82245d2c4fdfb8ed1d64776d756e (diff)
downloadblackbird-obmc-linux-06ea0bfe6e6043cb56a78935a19f6f8ebc636226.tar.gz
blackbird-obmc-linux-06ea0bfe6e6043cb56a78935a19f6f8ebc636226.zip
SUNRPC: Fix races in xs_nospace()
When a send failure occurs due to the socket being out of buffer space, we call xs_nospace() in order to have the RPC task wait until the socket has drained enough to make it worth while trying again. The current patch fixes a race in which the socket is drained before we get round to setting up the machinery in xs_nospace(), and which is reported to cause hangs. Link: http://lkml.kernel.org/r/20140210170315.33dfc621@notabene.brown Fixes: a9a6b52ee1ba (SUNRPC: Don't start the retransmission timer...) Reported-by: Neil Brown <neilb@suse.com> Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/backchannel_rqst.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud