summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2018-12-23 19:42:38 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-05 15:37:48 +0100
commit145422360a329f12f8c19ddad5edb178625966ee (patch)
treeeba0b5745ad77947d924fbf9fc9222ce28b884f4 /fs
parentffe6754349892403d348eb5793aaf278a12aa414 (diff)
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions