diff options
author | Xiyu Yang <[email protected]> | 2021-07-19 14:00:53 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-07-30 09:34:26 -0300 |
commit | a0293eb24936ff30e5a23f9438fd4ad1c4009dbf (patch) | |
tree | 0c8db95f2b80caf318a45141b7fbde54c78a1103 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 62004871e1fa7f9a60797595c03477af5b5ec36f (diff) |
RDMA/hfi1: Convert from atomic_t to refcount_t on hfi1_devdata->user_refcount
refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Xiyu Yang <[email protected]>
Signed-off-by: Xin Tan <[email protected]>
Tested-by: Josh Fisher <[email protected]>
Acked-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions