diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-11 18:43:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-11 18:43:02 -0500 |
commit | 7e452baf6b96b5aeba097afd91501d33d390cc97 (patch) | |
tree | 9b0e062d3677d50d731ffd0fba47423bfdee9253 /net/ipv6 | |
parent | 3ac38c3a2e7dac3f8f35a56eb85c27881a4c3833 (diff) | |
parent | f21f237cf55494c3a4209de323281a3b0528da10 (diff) |
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/message/fusion/mptlan.c
drivers/net/sfc/ethtool.c
net/mac80211/debugfs_sta.c
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/ip6mr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index c491fb98a5e3..b17377d6f260 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
@@ -980,14 +980,15 @@ int __init ip6_mr_init(void) | |||
980 | goto proc_cache_fail; | 980 | goto proc_cache_fail; |
981 | #endif | 981 | #endif |
982 | return 0; | 982 | return 0; |
983 | reg_notif_fail: | ||
984 | kmem_cache_destroy(mrt_cachep); | ||
985 | #ifdef CONFIG_PROC_FS | 983 | #ifdef CONFIG_PROC_FS |
986 | proc_vif_fail: | ||
987 | unregister_netdevice_notifier(&ip6_mr_notifier); | ||
988 | proc_cache_fail: | 984 | proc_cache_fail: |
989 | proc_net_remove(&init_net, "ip6_mr_vif"); | 985 | proc_net_remove(&init_net, "ip6_mr_vif"); |
986 | proc_vif_fail: | ||
987 | unregister_netdevice_notifier(&ip6_mr_notifier); | ||
990 | #endif | 988 | #endif |
989 | reg_notif_fail: | ||
990 | del_timer(&ipmr_expire_timer); | ||
991 | kmem_cache_destroy(mrt_cachep); | ||
991 | return err; | 992 | return err; |
992 | } | 993 | } |
993 | 994 | ||