Reshetova, Elena b4217b8289 net: convert netlbl_lsm_cache.refcount 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: David S. Miller <davem@davemloft.net>
2017-07-01 07:39:09 -07:00
..
2017-05-21 13:42:36 -04:00
2017-01-13 22:37:16 -05:00
2017-04-30 22:44:04 -04:00
2017-06-29 15:37:48 -04:00
2017-06-15 12:12:40 -04:00
2017-06-17 22:54:01 -04:00
2017-06-15 12:12:40 -04:00
2017-05-21 13:42:36 -04:00
2017-05-24 16:29:57 -04:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00