Files
twx-linux/include/net
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
..
2017-06-07 12:07:46 +02:00
2016-10-14 10:59:15 -04:00
2018-02-25 11:05:48 +01:00
2017-12-16 16:25:45 +01:00
2017-07-21 07:42:18 +02:00