• Steve French's avatar
    [SMB3] send channel sequence number in SMB3 requests after reconnects · 09ee7a3b
    Steve French authored
    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+
    09ee7a3b
smb2pdu.h 53.3 KB