diff options
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index e521a03515b1..e331746029b4 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/rcupdate.h> | 21 | #include <linux/rcupdate.h> |
22 | #include <net/fib_rules.h> | 22 | #include <net/fib_rules.h> |
23 | #include <net/inetpeer.h> | 23 | #include <net/inetpeer.h> |
24 | #include <linux/percpu.h> | ||
24 | 25 | ||
25 | struct fib_config { | 26 | struct fib_config { |
26 | u8 fc_dst_len; | 27 | u8 fc_dst_len; |
@@ -81,7 +82,7 @@ struct fib_nh { | |||
81 | __be32 nh_gw; | 82 | __be32 nh_gw; |
82 | __be32 nh_saddr; | 83 | __be32 nh_saddr; |
83 | int nh_saddr_genid; | 84 | int nh_saddr_genid; |
84 | struct rtable __rcu *nh_rth_output; | 85 | struct rtable __rcu * __percpu *nh_pcpu_rth_output; |
85 | struct rtable __rcu *nh_rth_input; | 86 | struct rtable __rcu *nh_rth_input; |
86 | struct fnhe_hash_bucket *nh_exceptions; | 87 | struct fnhe_hash_bucket *nh_exceptions; |
87 | }; | 88 | }; |