]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: remove rfc1002 header from all SMB2 response structures
authorRonnie Sahlberg <lsahlber@redhat.com>
Fri, 1 Jun 2018 00:53:02 +0000 (10:53 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 1 Jun 2018 02:30:50 +0000 (21:30 -0500)
commit85ff1482f53ae0b110b87a7e58a36fd3b25d52ae
tree93f5305f333f2028d664bd995183f9550506286d
parentcc0a8a062234f884e1f896a14f0d7bd767c9f75d
cifs: remove rfc1002 header from all SMB2 response structures

Separate out all the 4 byte rfc1002 headers so that they are no longer
part of the SMB2 header structures to prepare for future work to add
compounding support.

Update the smb3 transform header processing that we no longer have
a rfc1002 header at the start of this structure.

Update smb2_readv_callback to accommodate that the first iovector in the
response is no the smb2 header and no longer a rfc1002 header.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/connect.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/smb2transport.c
fs/cifs/transport.c