summaryrefslogtreecommitdiff
path: root/fs/cifs/smb2transport.c
diff options
context:
space:
mode:
authorLong Li <longli@microsoft.com>2020-03-27 08:09:20 +0300
committerSteve French <stfrench@microsoft.com>2020-03-30 00:42:54 +0300
commit3946d0d04bb360acca72db5efe9ae8440012d9dc (patch)
tree39867fa0e69552e40dacf8910d99f407a78dda71 /fs/cifs/smb2transport.c
parent4ebb8795a746b2a3dbab4f12e4a1227603441a81 (diff)
downloadlinux-3946d0d04bb360acca72db5efe9ae8440012d9dc.tar.xz
cifs: Allocate encryption header through kmalloc
When encryption is used, smb2_transform_hdr is defined on the stack and is passed to the transport. This doesn't work with RDMA as the buffer needs to be DMA'ed. Fix it by using kmalloc. Signed-off-by: Long Li <longli@microsoft.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/smb2transport.c')
0 files changed, 0 insertions, 0 deletions