Skip to content
Snippets Groups Projects
Commit d896ba83 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

SUNRPC: Fix races when closing the socket


Ensure that we bump the xprt->connect_cookie when we set the
XPRT_CLOSE_WAIT flag so that another call to
xprt_conditional_disconnect() won't race with the reconnection.

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 127becab
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment