diff options
| author | Weihang Li <liweihang@huawei.com> | 2021-05-28 17:37:39 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-08 14:56:11 -0300 |
| commit | cc9e5a844ab8139085d28efdda9ae1d5625a5319 (patch) | |
| tree | d03f2d25a579924d0432bfcf74b55fb510a685a3 /tools/perf/scripts/python | |
| parent | RDMA/core: Use refcount_t instead of atomic_t on refcount of mcast_port (diff) | |
| download | linux-cc9e5a844ab8139085d28efdda9ae1d5625a5319.tar.gz linux-cc9e5a844ab8139085d28efdda9ae1d5625a5319.zip | |
RDMA/hns: Use refcount_t instead of atomic_t for CQ 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-9-git-send-email-liweihang@huawei.com
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
