mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 05:12:49 +00:00
smb311: correct incorrect offset field in compression header
The offset field in the compression header is 32 bits not 16. Reviewed-by: Bharath SM <bharathsm@microsoft.com> Reported-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
parent
5b142b37c7
commit
68c5818a27
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ struct smb2_compression_hdr {
|
|||
__le32 OriginalCompressedSegmentSize;
|
||||
__le16 CompressionAlgorithm;
|
||||
__le16 Flags;
|
||||
__le16 Offset; /* this is the size of the uncompressed SMB2 header below */
|
||||
__le32 Offset; /* this is the size of the uncompressed SMB2 header below */
|
||||
/* uncompressed SMB2 header (READ or WRITE) goes here */
|
||||
/* compressed data goes here */
|
||||
} __packed;
|
||||
|
|
Loading…
Reference in a new issue