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
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_facilities.c
x25_forward.c
x25_in.c
x25_link.c Replace <asm/uaccess.h> with <linux/uaccess.h> globally 2016-12-24 11:46:01 -08:00
x25_out.c
x25_proc.c
x25_route.c
x25_subr.c
x25_timer.c