CIFS: Separate SMB2 sync header processing
authorPavel Shilovsky <pshilov@microsoft.com>
Mon, 24 Oct 2016 23:59:57 +0000 (16:59 -0700)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:35 +0000 (16:46 -0600)
commitcb200bd6264a80c04e09e8635fa4f3901cabdaef
tree40cab9532abad0920fb8ff05573ac0a1b4bac931
parent738f9de5cdb9175c19d24cfdf90b4543fc3b47bf
CIFS: Separate SMB2 sync header processing

Do not process RFC1001 length in smb2_hdr_assemble() because
it is not a part of SMB2 header. This allows to cleanup the code
and adds a possibility combine several SMB2 packets into one
for compounding.

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