diff options
| author | Patrisious Haddad <phaddad@nvidia.com> | 2026-07-13 18:38:00 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-07-22 05:45:46 -0400 |
| commit | 8d186210677c0322db886973bcec9aa4d21b51cd (patch) | |
| tree | 156026807630479a931a321f90a85cc2bf288c73 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 97f7c2262c28ebcae64fc957ee978646684a5ed9 (diff) | |
RDMA/core: Add rdma_restrack_begin/abort/commit_del() operations
Add rdma_restrack_abort_del(), rdma_restrack_begin_del() and
rdma_restrack_commit_del() functions to allow deleting a resource from
the xarray to effectively prevent future access to it and wait for all
current users to finish while preserving its index in the xarray to
allow to re-insert it if needed with guaranteed success.
This is a preparatory change for subsequent patches in the series
which will use these functions to fix the cleanup flow.
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Edward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20260713-restrack-uaf-fix-resub-v2-1-bbe8bb270d51@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
