diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-02-20 13:06:21 +0200 |
---|---|---|
committer | Radim Krčmář <rkrcmar@redhat.com> | 2017-03-01 17:03:21 +0100 |
commit | e3736c3eb3a6f7c0966923b629c9f92b558aa9c7 (patch) | |
tree | 850c343552afe4d498411ba1e767aff4b43f0163 /sound/oss/dev_table.h | |
parent | bba82fd75694832b59433bf4e9d7ede8de1dfd42 (diff) | |
download | linux-e3736c3eb3a6f7c0966923b629c9f92b558aa9c7.tar.bz2 |
kvm: convert kvm.users_count 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>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'sound/oss/dev_table.h')
0 files changed, 0 insertions, 0 deletions