diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-04-18 09:02:48 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-04-18 09:02:48 -0500 |
commit | 24196f0c7d4bba093dfa8074507f31509970319f (patch) | |
tree | e163056918925d3661f3b4cd80f00e663e34a0e9 /drivers/pci/dwc/Kconfig | |
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 <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 'drivers/pci/dwc/Kconfig')
0 files changed, 0 insertions, 0 deletions