diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2018-12-17 17:38:51 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-13 10:03:50 +0100 |
commit | 6b464ecc3eeab0b6932cec9b8cc5f7778ace52ba (patch) | |
tree | 07e756a8750b3dedbd59773ce5739e46a971a9ac /drivers/net/tun.c | |
parent | 3f2c31043c4400bebce2f418771bc8384fe6da03 (diff) |
SUNRPC: Fix a race with XPRT_CONNECTING
[ Upstream commit cf76785d30712d90185455e752337acdb53d2a5d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions