ipv6: Do cleanup for ip6_mr_init.
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 3 Jul 2008 04:13:30 +0000 (12:13 +0800)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 08:51:56 +0000 (17:51 +0900)
commit623d1a1af77bd52a389c6eda5920e28eb2ee468b
tree85d0a7fbcd83b5a2cacf50b24a66c0063f7eca07
parentdd3abc4ef52597ec8268274222574b2700ba3ded
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>
include/linux/mroute6.h
net/ipv6/af_inet6.c
net/ipv6/ip6mr.c