Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b0ab51d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: xs_sock_mark_closed() does not need to trigger socket autoclose



Under all conditions, it should be quite sufficient just to mark
the socket as disconnected. It will then be closed by the
transport shutdown or reconnect code.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent 79234c3d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -777,7 +777,6 @@ static void xs_sock_mark_closed(struct rpc_xprt *xprt)
	xs_sock_reset_connection_flags(xprt);
	/* Mark transport as closed and wake up all pending tasks */
	xprt_disconnect_done(xprt);
	xprt_force_disconnect(xprt);
}

/**