commit | cf76785d30712d90185455e752337acdb53d2a5d | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@hammerspace.com> | Mon Dec 17 17:38:51 2018 -0500 |
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | Tue Dec 18 11:04:03 2018 -0500 |
tree | adaba352f1495a9eaf95bba2fe5091ba0afbaf7e | |
parent | 0445f92c5d537c173a54446b80d2052145de5148 [diff] |
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>