mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
Revert "sunrpc: fix peername failed on closed listener"
This reverts commitb292cf9ce7. The commit that it attempted to patch up,b0401d7253, was fundamentally wrong, and will also be reverted. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
parent
ab1b18f70a
commit
f5822754ea
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user