2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-31 16:43:51 +08:00
linux-next/drivers/staging/vme
Elena Reshetova d3cfd5b9c8 drivers: convert vme_user_vma_priv.refcnt 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-14 06:23:12 +08:00
..
devices drivers: convert vme_user_vma_priv.refcnt from atomic_t to refcount_t 2017-03-14 06:23:12 +08:00
Makefile