aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWeihang Li <liweihang@huawei.com>2021-05-28 17:37:36 +0800
committerJason Gunthorpe <jgg@nvidia.com>2021-06-08 14:45:07 -0300
commit58d33b4fa9d7926535c0f2d30bdb21d2e06e6047 (patch)
treeef858f5d8dbec0c305297a8bedc882533e7e5fe9 /tools/perf/scripts/python
parentRDMA/core: Use refcount_t instead of atomic_t on refcount of mcast_member (diff)
downloadlinux-58d33b4fa9d7926535c0f2d30bdb21d2e06e6047.tar.gz
linux-58d33b4fa9d7926535c0f2d30bdb21d2e06e6047.zip
RDMA/core: Use refcount_t instead of atomic_t on refcount of mcast_port
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-6-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