]> git.proxmox.com Git - mirror_ubuntu-artful-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)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Wed, 28 Jun 2017 13:18:38 +0000 (10:18 -0300)
commitcc85b775feac14f0d5f2938ef9c5802356cea10e
tree0ffa643c2533719001928fd503198e1bb75df724
parent8c254fbbb25da097d708ea6e677008c65d5b4066
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: Joseph Salisbury <joseph.salisbury@canonical.com>
fs/cifs/cifsproto.h
fs/cifs/smb2pdu.c
fs/cifs/smb2pdu.h
fs/cifs/transport.c