SUNRPC: Ensure timely close of disconnected AF_LOCAL sockets
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 28 Apr 2022 15:15:08 +0000 (11:15 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 29 Apr 2022 12:39:15 +0000 (08:39 -0400)
commitefce2d0ba6bf70994394a5a139347ced4d172771
tree96619e1acc500c49db5ced3a21882452189203d0
parentaad41a7d7cf6c6fa804c872a2480f8e541da37cf
SUNRPC: Ensure timely close of disconnected AF_LOCAL sockets

When the rpcbind server closes the socket, we need to ensure that the
socket is closed by the kernel as soon as feasible, so add a
sk_state_change callback to trigger this close.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xprtsock.c