]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/hns: Add missing comp_mask check in create_qp
authorJason Gunthorpe <jgg@nvidia.com>
Wed, 25 Mar 2026 21:26:59 +0000 (18:26 -0300)
committerLeon Romanovsky <leonro@nvidia.com>
Tue, 31 Mar 2026 07:18:16 +0000 (03:18 -0400)
commit67820de3167992d1c6071014737872c1c82a7f67
tree88302936e701df2027a680d7ffeec83468d1d944
parent676b570707be0d7e1cd011ceeab651ab243cf505
RDMA/hns: Add missing comp_mask check in create_qp

hns has a comp_mask field that was never checked for validity, check
it.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_qp.c