]> www.infradead.org Git - users/willy/xarray.git/commit
smb: client: fix deadlock in smb2_find_smb_tcon()
authorEnzo Matsumiya <ematsumiya@suse.de>
Thu, 6 Jun 2024 16:13:13 +0000 (13:13 -0300)
committerSteve French <stfrench@microsoft.com>
Fri, 7 Jun 2024 06:05:07 +0000 (01:05 -0500)
commit02c418774f76a0a36a6195c9dbf8971eb4130a15
tree56904ad28f049e7936f3e2a7f9a9d18ceac779e3
parentc3f38fa61af77b49866b006939479069cd451173
smb: client: fix deadlock in smb2_find_smb_tcon()

Unlock cifs_tcp_ses_lock before calling cifs_put_smb_ses() to avoid such
deadlock.

Cc: stable@vger.kernel.org
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2transport.c