projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
139b4a2
)
Revert "sunrpc: fix peername failed on closed listener"
author
J. Bruce Fields
<bfields@citi.umich.edu>
Sun, 28 Feb 2010 21:32:51 +0000
(16:32 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 26 Apr 2010 14:41:35 +0000
(07:41 -0700)
commit
f5822754ea006563e1bf0a1f43faaad49c0d8bb2
upstream.
This reverts commit
b292cf9ce70d221c3f04ff62db5ab13d9a249ca8
. The
commit that it attempted to patch up,
b0401d725334a94d57335790b8ac2404144748ee
, was fundamentally wrong, and
will also be reverted.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/svc_xprt.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/svc_xprt.c
b/net/sunrpc/svc_xprt.c
index dafd3414e7113a342ffe91c918b9f8e6f7f0dac4..929f6dbc5d228a933a8d2f8501efd43802240834 100644
(file)
--- a/
net/sunrpc/svc_xprt.c
+++ b/
net/sunrpc/svc_xprt.c
@@
-711,8
+711,7
@@
int svc_recv(struct svc_rqst *rqstp, long timeout)
spin_unlock_bh(&pool->sp_lock);
len = 0;
- if (test_bit(XPT_LISTENER, &xprt->xpt_flags) &&
- !test_bit(XPT_CLOSE, &xprt->xpt_flags)) {
+ if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) {
struct svc_xprt *newxpt;
newxpt = xprt->xpt_ops->xpo_accept(xprt);
if (newxpt) {