Skip to content
Commit aad41a7d authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Don't leak sockets in xs_local_connect()



If there is still a closed socket associated with the transport, then we
need to trigger an autoclose before we can set up a new connection.

Reported-by: default avatarwanghai (M) <wanghai38@huawei.com>
Fixes: f0043206 ("SUNRPC: Ensure we flush any closed sockets before xs_xprt_free()")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 00c94ebe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment