diff options
| author | Weihang Li <liweihang@huawei.com> | 2021-05-28 17:37:43 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-06-08 15:00:04 -0300 |
| commit | a5e27fb68fcce3885cfc02a1ecd7d02fe3f02a34 (patch) | |
| tree | 010507671ed2c34faa6235fea8833df58e7a9517 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | RDMA/cxgb4: Use refcount_t instead of atomic_t for reference counting (diff) | |
| download | linux-a5e27fb68fcce3885cfc02a1ecd7d02fe3f02a34.tar.gz linux-a5e27fb68fcce3885cfc02a1ecd7d02fe3f02a34.zip | |
RDMA/ipoib: Use refcount_t instead of atomic_t for 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-13-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/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
