linux/net/x25
linzhang 64df6d525f net: x25: fix one potential use-after-free issue
The function x25_init is not properly unregister related resources
on error handler.It is will result in kernel oops if x25_init init
failed, so add properly unregister call on error handler.

Also, i adjust the coding style and make x25_register_sysctl properly
return failure.

Signed-off-by: linzhang <xiaolou4617@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-18 10:05:40 -04:00
..
af_x25.c net: x25: fix one potential use-after-free issue 2017-05-18 10:05:40 -04:00
Kconfig net: x25: Fix dead URLs in Kconfig 2013-10-29 17:35:17 -04:00
Makefile
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 Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08: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: Fix (nearly-)kernel-doc comments for various functions 2012-07-10 23:13:45 -07:00
x25_subr.c x25: convert printks to pr_<level> 2013-12-09 20:24:18 -05:00
x25_timer.c