Skip to content
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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment