diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-03-20 09:08:19 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-06 13:12:23 +0300 |
commit | 0728ce77cdb74e7c1963988c4bcc15e4ed39f33f (patch) | |
tree | 69fd699fab848f362400889369cefa2ebb9c46c0 /io_uring/nop.h | |
parent | 06d17e1ba929ac023771d981a271c182e7ae567b (diff) | |
download | linux-0728ce77cdb74e7c1963988c4bcc15e4ed39f33f.tar.xz |
cifs: avoid race conditions with parallel reconnects
[ Upstream commit bc962159e8e326af634a506508034a375bf2b858 ]
When multiple processes/channels do reconnects in parallel
we used to return success immediately
negotiate/session-setup/tree-connect, causing race conditions
between processes that enter the function in parallel.
This caused several errors related to session not found to
show up during parallel reconnects.
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'io_uring/nop.h')
0 files changed, 0 insertions, 0 deletions