Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SUNRPC: Ensure we return EAGAIN in xs_nospace if congestion is cleared
commit 24ca9a8 upstream. By returning '0' instead of 'EAGAIN' when the tests in xs_nospace() fail to find evidence of socket congestion, we are making the RPC engine believe that the message was incorrectly sent and so it disconnects the socket instead of just retrying. The bug appears to have been introduced by commit 5e3771c (SUNRPC: Ensure that xs_nospace return values are propagated). Reported-by: Andrew Cooper <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Tested-by: Andrew Cooper <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information