Re: [PATCH v6 31/34] cifs: Fix problem with encrypted RDMA data read

From: Stefan Metzmacher
Date: Thu Jan 19 2023 - 13:25:37 EST


Am 17.01.23 um 00:11 schrieb David Howells:
When the cifs client is talking to the ksmbd server by RDMA and the ksmbd
server has "smb3 encryption = yes" in its config file, the normal PDU
stream is encrypted, but the directly-delivered data isn't in the stream
(and isn't encrypted), but is rather delivered by DDP/RDMA packets (at
least with IWarp).

In that case the client must not use DDP/RDMA offload!
This needs to be fixed in the request code for both read and write!

metze