summaryrefslogtreecommitdiff
path: root/fs/afs
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2023-02-20 13:02:11 +0000
committerSteve French <stfrench@microsoft.com>2023-03-22 23:15:40 -0500
commit2f4e429c846972c8405951a9ff7a82aceeca7461 (patch)
tree1c7ce858d3bd5422746f717fc54be8c74dc69375 /fs/afs
parent2f0e4f0342201fe2228fcc2301cc2b42ae04b8e3 (diff)
downloadlinux-2f4e429c846972c8405951a9ff7a82aceeca7461.tar.gz
linux-2f4e429c846972c8405951a9ff7a82aceeca7461.tar.bz2
linux-2f4e429c846972c8405951a9ff7a82aceeca7461.zip
cifs: lock chan_lock outside match_session
Coverity had rightly indicated a possible deadlock due to chan_lock being done inside match_session. All callers of match_* functions should pick up the necessary locks and call them. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Cc: stable@vger.kernel.org Fixes: 724244cdb382 ("cifs: protect session channel fields with chan_lock") Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/afs')
0 files changed, 0 insertions, 0 deletions