drm/i915/tv: convert to encoder enable/disable
[firefly-linux-kernel-4.4.55.git] / include / net / ip_fib.h
index e69c3a47153de4826fdbdd8a42d64a0bb2eed974..926142ed8d7aa67a55e560242c94c903611a8372 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/rcupdate.h>
 #include <net/fib_rules.h>
 #include <net/inetpeer.h>
+#include <linux/percpu.h>
 
 struct fib_config {
        u8                      fc_dst_len;
@@ -54,6 +55,7 @@ struct fib_nh_exception {
        u32                             fnhe_pmtu;
        __be32                          fnhe_gw;
        unsigned long                   fnhe_expires;
+       struct rtable __rcu             *fnhe_rth;
        unsigned long                   fnhe_stamp;
 };
 
@@ -81,8 +83,8 @@ struct fib_nh {
        __be32                  nh_gw;
        __be32                  nh_saddr;
        int                     nh_saddr_genid;
-       struct rtable           *nh_rth_output;
-       struct rtable           *nh_rth_input;
+       struct rtable __rcu * __percpu *nh_pcpu_rth_output;
+       struct rtable __rcu     *nh_rth_input;
        struct fnhe_hash_bucket *nh_exceptions;
 };