summaryrefslogtreecommitdiff
path: root/lib/devres.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-02-29 19:14:50 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-02-29 19:14:50 (GMT)
commita5710d6582868a96cf0fe02eac11d34cfbc783c9 (patch)
tree8fcc3f4bc58436c1809602a98c9ce759c74f9410 /lib/devres.c
parent9b0f976f27f00a81cf47643d90854659626795b4 (diff)
downloadlinux-a5710d6582868a96cf0fe02eac11d34cfbc783c9.tar.xz
[ICMP]: Add return code to icmp_init.
icmp_init could fail and this is normal for namespace other than initial. So, the panic should be triggered only on init_net initialization path. Additionally create rollback path for icmp_init as a separate function. It will also be used later during namespace destruction. Signed-off-by: Denis V. Lunev <den@openvz.org> Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions