aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorPavel Shilovsky <[email protected]>2019-07-22 11:34:59 -0700
committerSteve French <[email protected]>2019-08-05 22:49:54 -0500
commite99c63e4d86d3a94818693147b469fa70de6f945 (patch)
tree2328d27ed358c8b4c1cf0af0788d30382a7f6779 /lib/test_overflow.c
parent247bc9470b1eeefc7b58cdf2c39f2866ba651509 (diff)
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 <[email protected]> Signed-off-by: Steve French <[email protected]> Reviewed-by: Ronnie Sahlberg <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions