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

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
..
2016-04-20 15:42:04 +09:00
2018-02-25 11:03:34 +01:00
2017-06-07 12:05:59 +02:00
2015-10-08 04:27:03 -07:00
2015-10-23 06:26:42 -07:00
2018-02-25 11:03:40 +01:00
2016-11-15 07:46:36 +01:00
2015-10-26 22:24:22 -07:00