summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorWeihang Li <liweihang@huawei.com>2021-05-28 17:37:35 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-06-08 14:43:56 -0300
commitcd74db6cbb1e5a9d9103ccb41aca777d0e4298cd (patch)
tree2298204ed7ba460b7dd665b88b940a2903cdc6d2 /tools/perf/scripts
parent6448508076bf1e2b9133b34e51c7170b335b9abf (diff)
downloadlinux-cd74db6cbb1e5a9d9103ccb41aca777d0e4298cd.tar.gz
linux-cd74db6cbb1e5a9d9103ccb41aca777d0e4298cd.zip
RDMA/core: Use refcount_t instead of atomic_t on refcount of mcast_member
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-5-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')
0 files changed, 0 insertions, 0 deletions