diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-03-06 16:21:16 +0200 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-03-13 12:45:18 -0400 |
commit | c5f7c5a9a0f84c511a8a336491f9b8a3060b6517 (patch) | |
tree | 8c96894513de6ecef4ca4cd333e1a5840ca94fb7 /drivers/sbus | |
parent | 4495c08e84729385774601b5146d51d9e5849f81 (diff) | |
download | linux-c5f7c5a9a0f84c511a8a336491f9b8a3060b6517.tar.bz2 |
drivers, xen: convert grant_map.users 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: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'drivers/sbus')
0 files changed, 0 insertions, 0 deletions