summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2015-09-02 22:58:35 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-15 21:01:41 +0200
commitb7503e0cdb5dbec5d201aa69d8888c14679b5ae8 (patch)
tree45fde1b18f1b392b12101def200158870687aa71 /include/net
parentnet: Refactor rtable initialization (diff)
downloadlinux-b7503e0cdb5dbec5d201aa69d8888c14679b5ae8.tar.xz
linux-b7503e0cdb5dbec5d201aa69d8888c14679b5ae8.zip
net: Add FIB table id to rtable
Add the FIB table id to rtable to make the information available for IPv4 as it is for IPv6. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/route.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/route.h b/include/net/route.h
index cc61cb95f059..10a7d21a211c 100644
--- a/include/net/route.h
+++ b/include/net/route.h
@@ -64,6 +64,8 @@ struct rtable {
/* Miscellaneous cached information */
u32 rt_pmtu;
+ u32 rt_table_id;
+
struct list_head rt_uncached;
struct uncached_list *rt_uncached_list;
};