summaryrefslogtreecommitdiff
path: root/io_uring/nop.h
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2023-03-20 09:08:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-04-06 13:12:23 +0300
commit0728ce77cdb74e7c1963988c4bcc15e4ed39f33f (patch)
tree69fd699fab848f362400889369cefa2ebb9c46c0 /io_uring/nop.h
parent06d17e1ba929ac023771d981a271c182e7ae567b (diff)
downloadlinux-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