diff options
author | Long Li <longli@microsoft.com> | 2020-03-27 06:09:20 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-03-29 23:42:54 +0200 |
commit | 3946d0d04bb360acca72db5efe9ae8440012d9dc (patch) | |
tree | 39867fa0e69552e40dacf8910d99f407a78dda71 /fs/dcache.c | |
parent | cifs: smbd: Check and extend sender credits in interrupt context (diff) | |
download | linux-3946d0d04bb360acca72db5efe9ae8440012d9dc.tar.xz linux-3946d0d04bb360acca72db5efe9ae8440012d9dc.zip |
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/dcache.c')
0 files changed, 0 insertions, 0 deletions