CIFS: Separate SMB2 header structure
authorPavel Shilovsky <pshilov@microsoft.com>
Mon, 24 Oct 2016 22:33:04 +0000 (15:33 -0700)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:34 +0000 (16:46 -0600)
commit31473fc4f9653b73750d3792ffce6a6e1bdf0da7
treebb789f590f828d3da748de876a7fafa43e654e7a
parent9c25702cee1405099f982894c865c163de7909a8
CIFS: Separate SMB2 header structure

In order to support compounding and encryption we need to separate
RFC1001 length field and SMB2 header structure because the protocol
treats them differently. This change will allow to simplify parsing
of such complex SMB2 packets further.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
fs/cifs/smb2glob.h
fs/cifs/smb2maperror.c
fs/cifs/smb2misc.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/smb2transport.c