]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
CIFS: Separate SMB2 header structure
authorPavel Shilovsky <pshilov@microsoft.com>
Mon, 24 Oct 2016 22:33:04 +0000 (15:33 -0700)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 28 Jun 2017 13:18:37 +0000 (10:18 -0300)
commit748900afe804bd28fc815fbe623160e8d3db416e
tree55ca02b22d1ebba24c6d7bdea717ee63ea0eaf5a
parent8cff385ea86305b5e311c8fe37ff922cc9e567d6
CIFS: Separate SMB2 header structure

BugLink: http://bugs.launchpad.net/bugs/1670508
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>
(cherry picked from commit 31473fc4f9653b73750d3792ffce6a6e1bdf0da7)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.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