summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2014-01-10 16:09:45 -0800
committerDavid S. Miller <davem@davemloft.net>2014-01-14 15:03:33 -0800
commit72c1d3bdd5bf10a789608336ba0d61f1e44e4350 (patch)
tree92f31ffd05e582d17bb8e9e2a857750a52118a72 /net/ipv4/ip_output.c
parentc49fa0166391279249483d61511c358580e29ee4 (diff)
downloadtalos-obmc-linux-72c1d3bdd5bf10a789608336ba0d61f1e44e4350.tar.gz
talos-obmc-linux-72c1d3bdd5bf10a789608336ba0d61f1e44e4350.zip
ipv4: register igmp_notifier even when !CONFIG_PROC_FS
We still need this notifier even when we don't config PROC_FS. It should be rare to have a kernel without PROC_FS, so just for completeness. Cc: Stephen Hemminger <stephen@networkplumber.org> Cc: David S. Miller <davem@davemloft.net> Cc: Patrick McHardy <kaber@trash.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r--net/ipv4/ip_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 9a78804cfe9c..8971780aec7c 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -1553,7 +1553,7 @@ void __init ip_init(void)
ip_rt_init();
inet_initpeers();
-#if defined(CONFIG_IP_MULTICAST) && defined(CONFIG_PROC_FS)
- igmp_mc_proc_init();
+#if defined(CONFIG_IP_MULTICAST)
+ igmp_mc_init();
#endif
}
OpenPOWER on IntegriCloud