Commit c724b2a
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>1 parent 5be63fc commit c724b2a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4441 | 4441 | | |
4442 | 4442 | | |
4443 | 4443 | | |
4444 | | - | |
| 4444 | + | |
4445 | 4445 | | |
4446 | 4446 | | |
4447 | 4447 | | |
| |||
0 commit comments