aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-acpi-processor.c
diff options
context:
space:
mode:
authorElena Reshetova <[email protected]>2017-03-06 14:21:16 +0000
committerBoris Ostrovsky <[email protected]>2017-03-13 16:45:18 +0000
commitc5f7c5a9a0f84c511a8a336491f9b8a3060b6517 (patch)
tree8c96894513de6ecef4ca4cd333e1a5840ca94fb7 /drivers/xen/xen-acpi-processor.c
parentLinux 4.11-rc2 (diff)
downloadkernel-c5f7c5a9a0f84c511a8a336491f9b8a3060b6517.tar.gz
kernel-c5f7c5a9a0f84c511a8a336491f9b8a3060b6517.zip
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 <[email protected]> Signed-off-by: Hans Liljestrand <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: David Windsor <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions