SUNRPC: Don't try to send when the connection is shutting down
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Dec 2023 14:34:08 +0000 (15:34 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 28 Feb 2024 20:00:14 +0000 (15:00 -0500)
commit0c14584cdbdb58ecc14d149a81ca6c3d42cd38ec
tree493e5306886008506675910012ec43b8f73cfd26
parent31d90deb653a5c34d8d648b8a1b459b929be1a73
SUNRPC: Don't try to send when the connection is shutting down

If the connection has been scheduled to shut down, we must assume that
the socket is not in a state to accept further transmissions until the
connection has been re-established.

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