diff options
author | 2017-04-18 09:02:48 -0500 | |
---|---|---|
committer | 2017-04-18 09:02:48 -0500 | |
commit | 24196f0c7d4bba093dfa8074507f31509970319f (patch) | |
tree | e163056918925d3661f3b4cd80f00e663e34a0e9 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | PCI: hv: Allocate interrupt descriptors with GFP_ATOMIC (diff) | |
download | linux-dev-24196f0c7d4bba093dfa8074507f31509970319f.tar.xz linux-dev-24196f0c7d4bba093dfa8074507f31509970319f.zip |
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 <elena.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Reviewed-by: Stephen Hemminger <sthemmin@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions