diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-07-03 00:13:30 -0400 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-07-03 04:51:56 -0400 |
commit | 623d1a1af77bd52a389c6eda5920e28eb2ee468b (patch) | |
tree | 85d0a7fbcd83b5a2cacf50b24a66c0063f7eca07 /include/linux/mroute6.h | |
parent | dd3abc4ef52597ec8268274222574b2700ba3ded (diff) |
ipv6: Do cleanup for ip6_mr_init.
If do not do it, we will get following issues:
1. Leaving junks after inet6_init failing halfway.
2. Leaving proc and notifier junks after ipv6 modules unloading.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'include/linux/mroute6.h')
-rw-r--r-- | include/linux/mroute6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/mroute6.h b/include/linux/mroute6.h index e7989593142b..4c4d6f57d5c5 100644 --- a/include/linux/mroute6.h +++ b/include/linux/mroute6.h | |||
@@ -135,7 +135,8 @@ extern int ip6_mroute_setsockopt(struct sock *, int, char __user *, int); | |||
135 | extern int ip6_mroute_getsockopt(struct sock *, int, char __user *, int __user *); | 135 | extern int ip6_mroute_getsockopt(struct sock *, int, char __user *, int __user *); |
136 | extern int ip6_mr_input(struct sk_buff *skb); | 136 | extern int ip6_mr_input(struct sk_buff *skb); |
137 | extern int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg); | 137 | extern int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg); |
138 | extern void ip6_mr_init(void); | 138 | extern int ip6_mr_init(void); |
139 | extern void ip6_mr_cleanup(void); | ||
139 | 140 | ||
140 | struct mif_device | 141 | struct mif_device |
141 | { | 142 | { |