summaryrefslogtreecommitdiffstats
path: root/tools/cgroup
diff options
context:
space:
mode:
authorAditya Pakki <pakki001@umn.edu>2018-12-23 19:42:38 -0600
committerDavid S. Miller <davem@davemloft.net>2018-12-24 14:43:27 -0800
commit0eb987c874dc93f9c9d85a6465dbde20fdd3884c (patch)
tree72560a0691b897a4b31781eb1b82f9e6e8dba4c6 /tools/cgroup
parent89dfd0083751d00d5d7ead36f6d8b045bf89c5e1 (diff)
downloadlinux-0eb987c874dc93f9c9d85a6465dbde20fdd3884c.tar.bz2
net/net_namespace: Check the return value of register_pernet_subsys()
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>
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions