summaryrefslogtreecommitdiff
path: root/net/wireless
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-11-22 12:44:28 (GMT)
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-11-22 21:55:27 (GMT)
commit24ca9a847791fd53d9b217330b15f3c285827a18 (patch)
treea65b8af87ddc7b48911dd04c4644d2d2aaf0127d /net/wireless
parent866d43c9ea88daa3751b58aba16a2a9b7f7aa067 (diff)
downloadlinux-fsl-qoriq-24ca9a847791fd53d9b217330b15f3c285827a18.tar.xz
SUNRPC: Ensure we return EAGAIN in xs_nospace if congestion is cleared
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 5e3771ce2d6a69e10fcc870cdf226d121d868491 (SUNRPC: Ensure that xs_nospace return values are propagated). Reported-by: Andrew Cooper <andrew.cooper3@citrix.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Cc: stable@vger.kernel.org [>= 2.6.30] Tested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions