Files
linux/net/x25
linzhang 88b5b5893e net: x25: fix one potential use-after-free issue
[ Upstream commit 64df6d525f ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:07 +02:00
..
2013-10-29 17:35:17 -04:00
2013-12-09 20:24:18 -05:00
2013-12-09 20:24:18 -05:00
2011-03-05 10:55:45 +01:00
2013-04-09 14:13:35 -04:00
2013-12-09 20:24:18 -05:00