diff options
author | Steve French <stfrench@microsoft.com> | 2024-04-25 20:49:50 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2024-04-25 20:49:50 +0300 |
commit | 8861fd5180476f45f9e8853db154600469a0284f (patch) | |
tree | 42cbc51ff23472582504a63f76056c966a997dae /tools | |
parent | 8094a600245e9b28eb36a13036f202ad67c1f887 (diff) | |
download | linux-8861fd5180476f45f9e8853db154600469a0284f.tar.xz |
smb3: fix lock ordering potential deadlock in cifs_sync_mid_result
Coverity spotted that the cifs_sync_mid_result function could deadlock
"Thread deadlock (ORDER_REVERSAL) lock_order: Calling spin_lock acquires
lock TCP_Server_Info.srv_lock while holding lock TCP_Server_Info.mid_lock"
Addresses-Coverity: 1590401 ("Thread deadlock (ORDER_REVERSAL)")
Cc: stable@vger.kernel.org
Reviewed-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions