summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJunxian Huang <huangjunxian6@hisilicon.com>2024-11-08 10:57:43 +0300
committerLeon Romanovsky <leon@kernel.org>2024-11-10 17:29:53 +0300
commit6b526d17eed850352d880b93b9bf20b93006bd92 (patch)
tree2fa1cd211828bf2f144fb5b7fa35a7043b54c2a0 /tools/perf/scripts/python/exported-sql-viewer.py
parent5dbcb1c1900f45182b5651c89257c272f1f3ead7 (diff)
downloadlinux-6b526d17eed850352d880b93b9bf20b93006bd92.tar.xz
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 <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20241108075743.2652258-3-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions