Files
linux/net/sunrpc
Trond Myklebust 830d5bd83a SUNRPC: Fix races in xs_nospace()
commit 06ea0bfe6e upstream.

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: a9a6b52ee1 (SUNRPC: Don't start the retransmission timer...)
Reported-by: Neil Brown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:08 -08:00
..
2012-11-04 14:43:41 -05:00
2013-04-09 14:13:32 -04:00
2013-02-17 10:53:51 -05:00
2012-04-15 12:44:40 -04:00
2013-04-26 11:41:26 -04:00
2014-03-06 21:30:08 -08:00