diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2019-07-22 11:34:59 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2019-08-05 22:49:54 -0500 |
commit | e99c63e4d86d3a94818693147b469fa70de6f945 (patch) | |
tree | 2328d27ed358c8b4c1cf0af0788d30382a7f6779 /crypto/morus1280.c | |
parent | 247bc9470b1eeefc7b58cdf2c39f2866ba651509 (diff) | |
download | linux-e99c63e4d86d3a94818693147b469fa70de6f945.tar.gz |
SMB3: Fix deadlock in validate negotiate hits reconnect
Currently we skip SMB2_TREE_CONNECT command when checking during reconnect because Tree Connect happens when establishing an SMB session. For SMB 3.0 protocol version the code also calls validate negotiate which results in SMB2_IOCL command being sent over the wire. This may deadlock on trying to acquire a mutex when checking for reconnect. Fix this by skipping SMB2_IOCL command when doing the reconnect check. Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'crypto/morus1280.c')
0 files changed, 0 insertions, 0 deletions