Files
linux/include
linzhang 53678836e3 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:48:00 +02:00
..
2016-06-14 10:29:44 +01:00
2016-09-22 13:22:21 +02:00
2016-10-05 16:43:53 -03:00
2018-01-23 19:57:04 +01:00