CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 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)
commitd81243c697ffc71f983736e7da2db31a8be0001f
treeee0511a13e0626610492e227e3d0054d4deae6ec
parente4dc31fe9ace8f0134f835d3f34fb84f598deefc
CIFS: 511c54a2f69195b28afb9dd119f03787b1625bb4 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