SUNRPC: xs_reset_transport must mark the connection as disconnected
Subsystems (3)
PATCH 1/1 SUNRPC: xs_reset_transport must mark the connection as disconnected
In case the reconnection attempt fails.
Signed-off-by Trond Myklebust <[email protected]>
--- net/sunrpc/xprtsock.c | 1 + 1 file changed, 1 insertion(+)
net/sunrpc/xprtsock.c +1 -0
@@ -829,6 +829,7 @@ static void xs_reset_transport(struct sock_xprt *transport) sk->sk_user_data =NULL ;xs_restore_old_callbacks (transport, sk); +xprt_clear_connected (xprt);write_unlock_bh (&sk->sk_callback_lock);xs_sock_reset_connection_flags (xprt);
Signature · 1 line
2.4.3