]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
CIFS: Separate RFC1001 length processing for SMB2 read
authorPavel Shilovsky <pshilov@microsoft.com>
Wed, 23 Nov 2016 23:31:54 +0000 (15:31 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Tue, 7 Mar 2017 17:04:36 +0000 (10:04 -0700)
commit78afce205c5d928ef98bc0da14efaec8da89c83c
tree4aa6457b9a53cf989ba8d49fbd199d0368d4ceb5
parent2ba4646c34fff0d5be4d2a23c52fa4f8df4893b6
CIFS: Separate RFC1001 length processing for SMB2 read

BugLink: http://bugs.launchpad.net/bugs/1670508
Allocate and initialize SMB2 read request without RFC1001 length
field to directly call cifs_send_recv() rather than SendReceive2()
in a read codepath.

Signed-off-by: Pavel Shilovsky <pshilov@microsoft.com>
(cherry picked from commit b8f57ee8aad414a3122bff72d7968a94baacb9b6)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
fs/cifs/cifsproto.h
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/transport.c