summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorElena Reshetova <elena.reshetova@intel.com>2017-03-06 17:21:10 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-14 01:23:12 +0300
commitd3cfd5b9c8dc2bd6dff08acb074973a09ba30751 (patch)
treecfbc383a11559a4f29dce204e30e72f532b1cb9c /drivers/staging/lustre
parent6a386dd070f707ca40d96c8d20043733478ef49e (diff)
downloadlinux-d3cfd5b9c8dc2bd6dff08acb074973a09ba30751.tar.xz
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>
Diffstat (limited to 'drivers/staging/lustre')
0 files changed, 0 insertions, 0 deletions