summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprt.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2018-12-18 01:38:51 +0300
committerTrond Myklebust <trond.myklebust@hammerspace.com>2018-12-18 19:04:03 +0300
commitcf76785d30712d90185455e752337acdb53d2a5d (patch)
treeadaba352f1495a9eaf95bba2fe5091ba0afbaf7e /net/sunrpc/xprt.c
parent0445f92c5d537c173a54446b80d2052145de5148 (diff)
downloadlinux-cf76785d30712d90185455e752337acdb53d2a5d.tar.xz
SUNRPC: Fix a race with XPRT_CONNECTING
Ensure that we clear XPRT_CONNECTING before releasing the XPRT_LOCK so that we don't have races between the (asynchronous) socket setup code and tasks in xprt_connect(). Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Tested-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/xprt.c')
0 files changed, 0 insertions, 0 deletions