summaryrefslogtreecommitdiffstats
path: root/fs/cifs/smb2misc.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2022-03-31 20:01:50 +0200
committerSteve French <stfrench@microsoft.com>2022-04-04 19:01:22 +0200
commit687127c81ad32c8900a3fedbc7ed8f686ca95855 (patch)
tree90d74ec9f57dec31f6630ee72bedb8e04a9d7e04 /fs/cifs/smb2misc.c
parentLinux 5.18-rc1 (diff)
downloadlinux-687127c81ad32c8900a3fedbc7ed8f686ca95855.tar.xz
linux-687127c81ad32c8900a3fedbc7ed8f686ca95855.zip
cifs: fix potential race with cifsd thread
To avoid racing with demultiplex thread while it is handling data on socket, use cifs_signal_cifsd_for_reconnect() helper for marking current server to reconnect and let the demultiplex thread handle the rest. Fixes: dca65818c80c ("cifs: use a different reconnect helper for non-cifsd threads") Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2misc.c')
0 files changed, 0 insertions, 0 deletions