diff options
Diffstat (limited to 'net/ipv4/igmp.c')
-rw-r--r-- | net/ipv4/igmp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c index a646409c2d06..d78599a9dbd5 100644 --- a/net/ipv4/igmp.c +++ b/net/ipv4/igmp.c | |||
@@ -91,6 +91,7 @@ | |||
91 | #include <linux/rtnetlink.h> | 91 | #include <linux/rtnetlink.h> |
92 | #include <linux/times.h> | 92 | #include <linux/times.h> |
93 | 93 | ||
94 | #include <net/net_namespace.h> | ||
94 | #include <net/arp.h> | 95 | #include <net/arp.h> |
95 | #include <net/ip.h> | 96 | #include <net/ip.h> |
96 | #include <net/protocol.h> | 97 | #include <net/protocol.h> |
@@ -2613,8 +2614,8 @@ static const struct file_operations igmp_mcf_seq_fops = { | |||
2613 | 2614 | ||
2614 | int __init igmp_mc_proc_init(void) | 2615 | int __init igmp_mc_proc_init(void) |
2615 | { | 2616 | { |
2616 | proc_net_fops_create("igmp", S_IRUGO, &igmp_mc_seq_fops); | 2617 | proc_net_fops_create(&init_net, "igmp", S_IRUGO, &igmp_mc_seq_fops); |
2617 | proc_net_fops_create("mcfilter", S_IRUGO, &igmp_mcf_seq_fops); | 2618 | proc_net_fops_create(&init_net, "mcfilter", S_IRUGO, &igmp_mcf_seq_fops); |
2618 | return 0; | 2619 | return 0; |
2619 | } | 2620 | } |
2620 | #endif | 2621 | #endif |