Bug #11836
closed
SMB server shutdown hang after tree connect test
Added by Gordon Ross over 2 years ago.
Updated over 2 years ago.
Description
We have a new smbtorture test "base.tcondis" that does an SMB1 tree connect
with the flags including TREE_CONNECT_ANDX_DISCONNECT_TID
(see MS-SMB 2.2.4.7.1 )
which tells the server to disconnect the current TID before connecting a new one.
After running that test, the SMB server won't restart without a reboot.
It appears that some tree objects remain that are not getting cleaned up after that test.
Sure enough, smb_com_tree_connect_andx does, in the SMB_TCONX_DISCONECT_TID case, a
smb_session_lookup_tree, which takes a hold on the returned tree and never releases that hold.
Tested per. the description above.
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
git commit 27f3c5a8194b190aeea38638adf95bd93e61cef1
commit 27f3c5a8194b190aeea38638adf95bd93e61cef1
Author: Gordon Ross <gwr@nexenta.com>
Date: 2019-10-19T13:03:06.000Z
11836 SMB server shutdown hang after tree connect test
Reviewed by: Matt Barden <matt.barden@nexenta.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Evan Layton <evan.layton@nexenta.com>
Reviewed by: Andy Stormont <AStormont@racktopsystems.com>
Approved by: Robert Mustacchi <rm@fingolfin.org>
Also available in: Atom
PDF