cifs: push rfc1002 generation down the stack
authorRonnie Sahlberg <[email protected]>
Mon, 11 Jun 2018 22:00:58 +0000 (08:00 +1000)
committerSteve French <[email protected]>
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 <[email protected]>
Signed-off-by: Aurelien Aptel <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/cifsencrypt.c
fs/cifs/cifsproto.h
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c
fs/cifs/smb2transport.c
fs/cifs/transport.c