]> git.baikalelectronics.ru Git - kernel.git/commit
[CIFS] Do not send tree disconnect if session is already disconnected
authorSteve French <sfrench@us.ibm.com>
Thu, 25 Jun 2009 00:29:21 +0000 (00:29 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 25 Jun 2009 00:29:21 +0000 (00:29 +0000)
commitca34af9862834bde055c18f6e44c220d323a7c43
tree9d2a55c5847aadfbfc1c50617dc469dd40716900
parent0473575dc0216c35011ba7d6ed3d0ba630bc8ba7
[CIFS] Do not send tree disconnect if session is already disconnected

Noticed this when tree connect timed out (due to Samba server crash) -
we try to send a tree disconnect for a tid that does not exist
since we don't have a valid tree id yet. This checks that the
session is valid before sending the tree disconnect to handle
this case.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/CHANGES
fs/cifs/cifssmb.c