linux/drivers/infiniband
Weihang Li 8f9513d89f RDMA/hns: Use refcount_t instead of atomic_t for QP reference counting
The refcount_t API will WARN on underflow and overflow of a reference
counter, and avoid use-after-free risks.

Link: https://lore.kernel.org/r/1622194663-2383-11-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-06-08 14:58:51 -03:00
..
core RDMA/core: Use refcount_t instead of atomic_t on refcount of mcast_port 2021-06-08 14:45:07 -03:00
hw RDMA/hns: Use refcount_t instead of atomic_t for QP reference counting 2021-06-08 14:58:51 -03:00
sw RDMA/rxe: Fix failure during driver load 2021-06-03 16:50:29 -03:00
ulp RDMA/rtrs: Avoid Wtautological-constant-out-of-range-compare 2021-05-31 15:38:08 -03:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00