Skip to content
Commit 09ee7a3b authored by Steve French's avatar Steve French
Browse files

[SMB3] send channel sequence number in SMB3 requests after reconnects



The ChannelSequence field in the SMB3 header is supposed to be
increased after reconnect to allow the server to distinguish
requests from before and after the reconnect.  We had always
been setting it to zero.  There are cases where incrementing
ChannelSequence on requests after network reconnects can reduce
the chance of data corruptions.

See MS-SMB2 3.2.4.1 and 3.2.7.1

Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Cc: stable@vger.kernel.org # 5.16+
parent b6d44d42
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment