Aditya Pakki 145422360a net/net_namespace: Check the return value of register_pernet_subsys()
[ Upstream commit 0eb987c874dc93f9c9d85a6465dbde20fdd3884c ]

In net_ns_init(), register_pernet_subsys() could fail while registering
network namespace subsystems. The fix checks the return value and
sends a panic() on failure.

Signed-off-by: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 15:37:48 +01:00
..
2019-11-10 11:25:32 +01:00
2019-09-16 08:20:44 +02:00
2019-06-22 08:16:14 +02:00
2019-11-06 12:43:37 +01:00
2019-09-06 10:20:50 +02:00
2019-12-01 09:13:35 +01:00
2019-03-19 13:13:23 +01:00
2019-01-09 17:14:46 +01:00