aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorJunxian Huang <[email protected]>2024-11-08 07:57:43 +0000
committerLeon Romanovsky <[email protected]>2024-11-10 14:29:53 +0000
commit6b526d17eed850352d880b93b9bf20b93006bd92 (patch)
tree2fa1cd211828bf2f144fb5b7fa35a7043b54c2a0 /rust/helpers/task.c
parentRDMA/hns: Fix out-of-order issue of requester when setting FENCE (diff)
downloadkernel-6b526d17eed850352d880b93b9bf20b93006bd92.tar.gz
kernel-6b526d17eed850352d880b93b9bf20b93006bd92.zip
RDMA/hns: Fix NULL pointer derefernce in hns_roce_map_mr_sg()
ib_map_mr_sg() allows ULPs to specify NULL as the sg_offset argument. The driver needs to check whether it is a NULL pointer before dereferencing it. Fixes: d387d4b54eb8 ("RDMA/hns: Fix missing pagesize and alignment check in FRMR") Signed-off-by: Junxian Huang <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions