Skip to content

Commit 73367f0

Browse files
committed
Merge tag 'nfsd-5.14-1' of git://linux-nfs.org/~bfields/linux
Pull nfsd fix from Bruce Fields: "This is a one-liner fix for a serious bug that can cause the server to become unresponsive to a client, so I think it's worth the last-minute inclusion for 5.14" * tag 'nfsd-5.14-1' of git://linux-nfs.org/~bfields/linux: SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...
2 parents 8a2cb8b + 062b829 commit 73367f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

net/sunrpc/svc_xprt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,8 @@ static int svc_handle_xprt(struct svc_rqst *rqstp, struct svc_xprt *xprt)
835835
rqstp->rq_stime = ktime_get();
836836
rqstp->rq_reserved = serv->sv_max_mesg;
837837
atomic_add(rqstp->rq_reserved, &xprt->xpt_reserved);
838-
}
838+
} else
839+
svc_xprt_received(xprt);
839840
out:
840841
trace_svc_handle_xprt(xprt, len);
841842
return len;

0 commit comments

Comments
 (0)