Commit 3a17df1
committed
smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req()
JIRA: https://issues.redhat.com/browse/RHEL-57983
commit c724b2a
Author: Stefan Metzmacher <metze@samba.org>
Date: Wed Aug 21 17:18:23 2024 +0200
smb/client: avoid dereferencing rdata=NULL in smb2_new_read_req()
This happens when called from SMB2_read() while using rdma
and reaching the rdma_readwrite_threshold.
Cc: stable@vger.kernel.org
Fixes: a6559cc ("cifs: split out smb3_use_rdma_offload() helper")
Reviewed-by: David Howells <dhowells@redhat.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Paulo Alcantara <paalcant@redhat.com>1 parent 301b472 commit 3a17df1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4437 | 4437 | | |
4438 | 4438 | | |
4439 | 4439 | | |
4440 | | - | |
| 4440 | + | |
4441 | 4441 | | |
4442 | 4442 | | |
4443 | 4443 | | |
| |||
0 commit comments