diff options
author | Pavel Shilovsky <pshilov@microsoft.com> | 2017-07-08 14:32:00 -0700 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-07-08 17:23:10 -0500 |
commit | 511c54a2f69195b28afb9dd119f03787b1625bb4 (patch) | |
tree | 62ddef834e4a5b9298f662446dc49814c088756c /fs/cifs/nterr.h | |
parent | 4395d484b98154b28f895b722681710bdd40376c (diff) | |
download | blackbird-op-linux-511c54a2f69195b28afb9dd119f03787b1625bb4.tar.gz blackbird-op-linux-511c54a2f69195b28afb9dd119f03787b1625bb4.zip |
CIFS: Reconnect expired SMB sessions
According to the MS-SMB2 spec (3.2.5.1.6) once the client receives
STATUS_NETWORK_SESSION_EXPIRED error code from a server it should
reconnect the current SMB session. Currently the client doesn't do
that. This can result in subsequent client requests failing by
the server. The patch adds an additional logic to the demultiplex
thread to identify expired sessions and reconnect them.
Cc: <stable@vger.kernel.org>
Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/nterr.h')
0 files changed, 0 insertions, 0 deletions