diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2010-02-28 16:32:51 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2010-02-28 16:39:15 -0500 |
commit | f5822754ea006563e1bf0a1f43faaad49c0d8bb2 (patch) | |
tree | cf5903542cf7b9e9c564c2db722a1d8eb8f1789d /net/sunrpc | |
parent | ab1b18f70a007ea6caeb007d269abb75b131a410 (diff) | |
download | op-kernel-dev-f5822754ea006563e1bf0a1f43faaad49c0d8bb2.zip op-kernel-dev-f5822754ea006563e1bf0a1f43faaad49c0d8bb2.tar.gz |
Revert "sunrpc: fix peername failed on closed listener"
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>
Diffstat (limited to 'net/sunrpc')
-rw-r--r-- | net/sunrpc/svc_xprt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index 0983830..818c4c3 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -706,8 +706,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) { |