ipv4: Do cleanup for ip_mr_init
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 3 Jul 2008 04:13:36 +0000 (12:13 +0800)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Thu, 3 Jul 2008 08:51:57 +0000 (17:51 +0900)
commit03d2f897e9fb3218989baa2139a951ce7f5414bf
tree2949bdd7fbe49c3754cdc8140d5b67b37f0edd66
parent623d1a1af77bd52a389c6eda5920e28eb2ee468b
ipv4: Do cleanup for ip_mr_init

Same as ip6_mr_init(), make ip_mr_init() return errno if fails.
But do not do error handling in inet_init(), just print a msg.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
include/linux/igmp.h
include/linux/mroute.h
net/ipv4/af_inet.c
net/ipv4/ipmr.c