Message ID | 533D0B7E.50806@ims.co.at (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index 06c6ff0..0b68f32 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -328,6 +328,8 @@ static void svc_thread_dequeue(struct svc_pool *pool, struct svc_rqst *rqstp) static bool svc_xprt_has_something_to_do(struct svc_xprt *xprt) { + if (xprt->xpt_flags & (1<<XPT_DEAD)) + return false; if (xprt->xpt_flags & ((1<<XPT_CONN)|(1<<XPT_CLOSE))) return true;