Re: [PATCH] net/net_namespace: Check the return value of register_pernet_subsys()

From: David Miller
Date: Mon Dec 24 2018 - 17:46:22 EST


From: Aditya Pakki <pakki001@xxxxxxx>
Date: Sun, 23 Dec 2018 19:42:38 -0600

> 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@xxxxxxx>

Applied.