ipv4: register igmp_notifier even when !CONFIG_PROC_FS
authorWANG Cong <xiyou.wangcong@gmail.com>
Sat, 11 Jan 2014 00:09:45 +0000 (16:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Jan 2014 23:03:33 +0000 (15:03 -0800)
commit72c1d3bdd5bf10a789608336ba0d61f1e44e4350
tree92f31ffd05e582d17bb8e9e2a857750a52118a72
parentc49fa0166391279249483d61511c358580e29ee4
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>
include/net/ip.h
net/ipv4/igmp.c
net/ipv4/ip_output.c