[DECNET]: Increase number of possible routing tables to 2^32
[firefly-linux-kernel-4.4.55.git] / include / net / dn_fib.h
index cd9c3782f8384948874375ba1201e1a6f22f67fa..d97aa10c463fa1344fc2056b213226857e4f3019 100644 (file)
@@ -94,6 +94,7 @@ struct dn_fib_node {
 
 
 struct dn_fib_table {
+       struct hlist_node hlist;
        u32 n;
 
        int (*insert)(struct dn_fib_table *t, struct rtmsg *r, 
@@ -177,8 +178,6 @@ static inline void dn_fib_res_put(struct dn_fib_res *res)
                fib_rule_put(res->r);
 }
 
-extern struct dn_fib_table *dn_fib_tables[];
-
 #else /* Endnode */
 
 #define dn_fib_init()  do { } while(0)