Skip to content
Commit 2f4e429c authored by Shyam Prasad N's avatar Shyam Prasad N Committed by Steve French
Browse files

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: default avatarShyam Prasad N <sprasad@microsoft.com>
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@manguebit.com>
Cc: stable@vger.kernel.org
Fixes: 724244cd ("cifs: protect session channel fields with chan_lock")
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 2f0e4f03
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment