ipv6: Add infrastructure to bind inet_peer objects to routes.
They are only allowed on cached ipv6 routes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <net/dst.h>
|
||||
#include <net/flow.h>
|
||||
#include <net/netlink.h>
|
||||
#include <net/inetpeer.h>
|
||||
|
||||
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
|
||||
#define FIB6_TABLE_HASHSZ 256
|
||||
@@ -109,6 +110,7 @@ struct rt6_info {
|
||||
u32 rt6i_metric;
|
||||
|
||||
struct inet6_dev *rt6i_idev;
|
||||
struct inet_peer *rt6i_peer;
|
||||
|
||||
#ifdef CONFIG_XFRM
|
||||
u32 rt6i_flow_cache_genid;
|
||||
|
Reference in New Issue
Block a user