summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-02 22:43:47 -0700
committerDavid S. Miller <davem@davemloft.net>2012-07-05 02:41:58 -0700
commit97cac0821af4474ec4ba3a9e7a36b98ed9b6db88 (patch)
tree49c33db384053e154ce37839d07eae93f9cd4eae /include/net
parent534cb283efef9fdbd9f70f4615054d26aa444dd6 (diff)
downloadop-kernel-dev-97cac0821af4474ec4ba3a9e7a36b98ed9b6db88.zip
op-kernel-dev-97cac0821af4474ec4ba3a9e7a36b98ed9b6db88.tar.gz
ipv6: Store route neighbour in rt6_info struct.
This makes for a simplified conversion away from dst_get_neighbour*(). All code outside of ipv6 will use neigh lookups via dst_neigh_lookup*(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ip6_fib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index a192f78..0fedbd8 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -86,6 +86,8 @@ struct fib6_table;
struct rt6_info {
struct dst_entry dst;
+ struct neighbour *n;
+
/*
* Tail elements of dst_entry (__refcnt etc.)
* and these elements (rarely used in hot path) are in
OpenPOWER on IntegriCloud