diff options
author | Elena Reshetova <[email protected]> | 2017-04-18 09:02:48 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-04-18 09:02:48 -0500 |
commit | 24196f0c7d4bba093dfa8074507f31509970319f (patch) | |
tree | e163056918925d3661f3b4cd80f00e663e34a0e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 59c58ceeea9cdc6144d7b0303753e6bd26d87455 (diff) |
PCI: hv: Convert hv_pci_dev.refs from atomic_t to refcount_t
refcount_t type and corresponding API should be used instead of atomic_t
when the variable is used as a reference counter. This allows to avoid
accidental refcounter overflows that might lead to use-after-free
situations.
Signed-off-by: Elena Reshetova <[email protected]>
Signed-off-by: Hans Liljestrand <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David Windsor <[email protected]>
Reviewed-by: Stephen Hemminger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions