]> git.baikalelectronics.ru Git - kernel.git/commit
cifs: smbd: Don't use RDMA read/write when signing is used
authorLong Li <longli@microsoft.com>
Tue, 17 Apr 2018 19:17:08 +0000 (12:17 -0700)
committerSteve French <stfrench@microsoft.com>
Wed, 25 Apr 2018 16:15:53 +0000 (11:15 -0500)
commit9cfd589dc944d4fcad998aeaef29e3e3c5a5ebfc
tree725f1a7c9a3e35146aabd56bc5a29740b802bd3c
parentdeba019ddb85c2899b5ea8e33cdfbb5acb853ab6
cifs: smbd: Don't use RDMA read/write when signing is used

SMB server will not sign data transferred through RDMA read/write. When
signing is used, it's a good idea to have all the data signed.

In this case, use RDMA send/recv for all data transfers. This will degrade
performance as this is not generally configured in RDMA environemnt. So
warn the user on signing and RDMA send/recv.

Signed-off-by: Long Li <longli@microsoft.com>
Acked-by: Ronnie Sahlberg <lsahlber@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifssmb.c
fs/cifs/smb2ops.c
fs/cifs/smb2pdu.c