diff options
Diffstat (limited to 'net')
-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 09838300dac4..818c4c365b28 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) | |||
706 | spin_unlock_bh(&pool->sp_lock); | 706 | spin_unlock_bh(&pool->sp_lock); |
707 | 707 | ||
708 | len = 0; | 708 | len = 0; |
709 | if (test_bit(XPT_LISTENER, &xprt->xpt_flags) && | 709 | if (test_bit(XPT_LISTENER, &xprt->xpt_flags)) { |
710 | !test_bit(XPT_CLOSE, &xprt->xpt_flags)) { | ||
711 | struct svc_xprt *newxpt; | 710 | struct svc_xprt *newxpt; |
712 | newxpt = xprt->xpt_ops->xpo_accept(xprt); | 711 | newxpt = xprt->xpt_ops->xpo_accept(xprt); |
713 | if (newxpt) { | 712 | if (newxpt) { |