OpenCloudOS-Kernel/net/x25
Reshetova, Elena 5534a51ab7 net, x25: convert x25_neigh.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: David S. Miller <davem@davemloft.net>
2017-07-04 22:35:18 +01:00
..
Kconfig net: x25: Fix dead URLs in Kconfig 2013-10-29 17:35:17 -04:00
Makefile
af_x25.c net: x25: fix one potential use-after-free issue 2017-05-18 10:05:40 -04:00
sysctl_net_x25.c net: x25: fix one potential use-after-free issue 2017-05-18 10:05:40 -04:00
x25_dev.c x25: convert printks to pr_<level> 2013-12-09 20:24:18 -05:00
x25_facilities.c net: fix a kernel infoleak in x25 module 2016-05-09 22:45:33 -04:00
x25_forward.c x25: convert printks to pr_<level> 2013-12-09 20:24:18 -05:00
x25_in.c net: Fix use after free by removing length arg from sk_data_ready callbacks. 2014-04-11 16:15:36 -04:00
x25_link.c net, x25: convert x25_neigh.refcnt from atomic_t to refcount_t 2017-07-04 22:35:18 +01:00
x25_out.c x25: remove the BKL 2011-03-05 10:55:45 +01:00
x25_proc.c x25: use proc_remove_subtree() 2013-04-09 14:13:35 -04:00
x25_route.c net, x25: convert x25_route.refcnt from atomic_t to refcount_t 2017-07-04 22:35:18 +01:00
x25_subr.c net: manual clean code which call skb_put_[data:zero] 2017-06-20 13:30:15 -04:00
x25_timer.c x25: Fix sleep from timer on socket destroy. 2009-06-16 05:40:30 -07:00