]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: a52397f4924fdd3156030d631957f8313ebde7e2 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)
commite5ddb0b9ef6e95d1a3d945c55d4d5eaa5a3a5e58
treeee0511a13e0626610492e227e3d0054d4deae6ec
parent64a5947772b35bca6390271641c307b7e592a4d0
CIFS: a52397f4924fdd3156030d631957f8313ebde7e2 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