]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: a917fea64685df73996c14c9c4b2c15ef464865f adds a check for session expiry, statu...
authorMark Syms <mark.syms@citrix.com>
Thu, 24 May 2018 08:47:31 +0000 (09:47 +0100)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Jun 2018 14:14:13 +0000 (09:14 -0500)
commit0e11c36fdadbd06475e17b3f5733ccb774bbaf21
treeee0511a13e0626610492e227e3d0054d4deae6ec
parentfa654c53e7ab19ece350eec87946dc245d0fc1cf
CIFS: a917fea64685df73996c14c9c4b2c15ef464865f adds a check for session expiry, status STATUS_NETWORK_SESSION_EXPIRED, however the server can also respond with STATUS_USER_SESSION_DELETED in cases where the session has been idle for some time and the server reaps the session to recover resources.

Handle this additional status in the same way as SESSION_EXPIRED.

Signed-off-by: Mark Syms <mark.syms@citrix.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
fs/cifs/smb2ops.c