diff options
author | Xiyu Yang via iommu <[email protected]> | 2021-07-19 16:32:58 +0800 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2021-07-26 13:46:57 +0200 |
commit | 8bc54824da4e8fcf0ed679cf09ac32f23d83254a (patch) | |
tree | 1184c4ce24a49aee108dda9ebd2f3d55ba216c63 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ff1176468d368232b684f75e82563369208bc371 (diff) |
iommu/amd: Convert from atomic_t to refcount_t on pasid_state->count
refcount_t type and corresponding API can protect refcounters from
accidental underflow and overflow and further use-after-free situations.
Signed-off-by: Xiyu Yang <[email protected]>
Signed-off-by: Xin Tan <[email protected]>
Reviewed-by: Suravee Suthikulpanit <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions