compile fix for neighbour scalability backport
Subsystems (2)
PATCH 1/1 compile fix for neighbour scalability backport
Compile fix for neighbour scalability backport.
neighbour.c:1901: error: THIS_MODULE' undeclared here (not in a function) neighbour.c:1901: error: initializer element is not constant neighbour.c:1901: error: (near initialization for neigh_stat_seq_fops.owner')
Signed-off-by Chris Wright <[email protected]>
===== net/core/neighbour.c 1.14 vs edited =====
net/core/neighbour.c +1 -0
@@ -19,6 +19,7 @@#include <linux/config.h> #include <linux/types.h> #include <linux/kernel.h> +#include <linux/module.h> #include <linux/socket.h> #include <linux/sched.h> #include <linux/netdevice.h>
And another compile fix for neighbour scalability fixes.
arp.c:1342: error: THIS_MODULE' undeclared here (not in a function) arp.c:1342: error: initializer element is not constant arp.c:1342: error: (near initialization for arp_seq_fops.owner')
Signed-off-by Chris Wright <[email protected]>
===== net/ipv4/arp.c 1.18 vs edited =====
net/ipv4/arp.c +1 -0
@@ -76,6 +76,7 @@#include <linux/types.h> #include <linux/string.h> #include <linux/kernel.h> +#include <linux/module.h> #include <linux/sched.h> #include <linux/config.h> #include <linux/socket.h>