]> 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)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 7 Mar 2017 17:04:36 +0000 (10:04 -0700)
commitb6932a6addcb49bcb8c419264bb9ad713917f10f
tree8c48c01663178af20d9d1128611d6ceb8d893d2b
parent124cf0f95e3f35b42fb457977acbaf32fca4e33a
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: Tim Gardner <tim.gardner@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