aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/neighbour.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/core/neighbour.c')
-rw-r--r--net/core/neighbour.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index ecd43c4a2221..5f25f4f79b8c 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -25,6 +25,7 @@
25#include <linux/sysctl.h> 25#include <linux/sysctl.h>
26#endif 26#endif
27#include <linux/times.h> 27#include <linux/times.h>
28#include <net/net_namespace.h>
28#include <net/neighbour.h> 29#include <net/neighbour.h>
29#include <net/dst.h> 30#include <net/dst.h>
30#include <net/sock.h> 31#include <net/sock.h>
@@ -1350,7 +1351,7 @@ void neigh_table_init_no_netlink(struct neigh_table *tbl)
1350 panic("cannot create neighbour cache statistics"); 1351 panic("cannot create neighbour cache statistics");
1351 1352
1352#ifdef CONFIG_PROC_FS 1353#ifdef CONFIG_PROC_FS
1353 tbl->pde = create_proc_entry(tbl->id, 0, proc_net_stat); 1354 tbl->pde = create_proc_entry(tbl->id, 0, init_net.proc_net_stat);
1354 if (!tbl->pde) 1355 if (!tbl->pde)
1355 panic("cannot create neighbour proc dir entry"); 1356 panic("cannot create neighbour proc dir entry");
1356 tbl->pde->proc_fops = &neigh_stat_seq_fops; 1357 tbl->pde->proc_fops = &neigh_stat_seq_fops;