diff options
| author | Elena Reshetova <elena.reshetova@intel.com> | 2017-03-06 16:21:10 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-14 06:23:12 +0800 |
| commit | d3cfd5b9c8dc2bd6dff08acb074973a09ba30751 (patch) | |
| tree | cfbc383a11559a4f29dce204e30e72f532b1cb9c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 6a386dd070f707ca40d96c8d20043733478ef49e (diff) | |
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 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
