diff options
author | Long Li <longli@microsoft.com> | 2020-03-26 19:42:24 -0700 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-03-29 16:41:49 -0500 |
commit | f7950cb05d060b00db5e6102261417cef26c5789 (patch) | |
tree | ee1829a8b037ae57a705bb4bfceee416768acf9a /fs/userfaultfd.c | |
parent | edad734c74a4ab6ba8531186054779b2382df3fd (diff) | |
download | linux-f7950cb05d060b00db5e6102261417cef26c5789.tar.bz2 |
cifs: smbd: Calculate the correct maximum packet size for segmented SMBDirect send/receive
The packet size needs to take account of SMB2 header size and possible
encryption header size. This is only done when signing is used and it is for
RDMA send/receive, not read/write.
Also remove the dead SMBD code in smb2_negotiate_r(w)size.
Signed-off-by: Long Li <longli@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/userfaultfd.c')
0 files changed, 0 insertions, 0 deletions