]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 25 Aug 2021 19:33:14 +0000 (15:33 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 25 Aug 2021 20:58:09 +0000 (16:58 -0400)
commit4177900816e51570fb95a36339557ba2f2ca00ac
tree93661da46929b3da26d0fddd2e0f46c5a2646dbd
parentce1c8ff730a9d52cea6c427c4d2fbd6de7a3061a
SUNRPC: Fix XPT_BUSY flag leakage in svc_handle_xprt()...

If the attempt to reserve a slot fails, we currently leak the XPT_BUSY
flag on the socket. Among other things, this make it impossible to close
the socket.

Fixes: dabbca92b48d ("SUNRPC: Move svc_xprt_received() call sites")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svc_xprt.c