cifs: push rfc1002 generation down the stack
authorRonnie Sahlberg <lsahlber@redhat.com>
Mon, 11 Jun 2018 22:00:58 +0000 (08:00 +1000)
committerSteve French <stfrench@microsoft.com>
Fri, 15 Jun 2018 07:38:08 +0000 (02:38 -0500)
commitc713c8770fa5bfbeaac088cc7b959c7a6ba79f93
tree76b49e4511ff8b37777552aa150caae3033ce77c
parentd409014e4feeab486fb36b350abfc4c94de8be37
cifs: push rfc1002 generation down the stack

Move the generation of the 4 byte length field down the stack and
generate it immediately before we start writing the data to the socket.

Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsencrypt.c
fs/cifs/cifsproto.h
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2transport.c
fs/cifs/transport.c