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

2018-12-24 Thread David Miller
From: Aditya Pakki 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 Applied.

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

2018-12-24 Thread Kirill Tkhai
On 24.12.2018 04:42, Aditya Pakki wrote: > 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 Reviewed-by: Kirill Tkhai > --- > net/core/net_n

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

2018-12-23 Thread Aditya Pakki
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 --- net/core/net_namespace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net