diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-02 22:43:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-05 02:41:58 -0700 |
commit | 97cac0821af4474ec4ba3a9e7a36b98ed9b6db88 (patch) | |
tree | 49c33db384053e154ce37839d07eae93f9cd4eae /net/ipv6/xfrm6_policy.c | |
parent | 534cb283efef9fdbd9f70f4615054d26aa444dd6 (diff) | |
download | linux-97cac0821af4474ec4ba3a9e7a36b98ed9b6db88.tar.bz2 |
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 'net/ipv6/xfrm6_policy.c')
-rw-r--r-- | net/ipv6/xfrm6_policy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_policy.c b/net/ipv6/xfrm6_policy.c index d7494845efbf..bb02038b822b 100644 --- a/net/ipv6/xfrm6_policy.c +++ b/net/ipv6/xfrm6_policy.c @@ -103,6 +103,7 @@ static int xfrm6_fill_dst(struct xfrm_dst *xdst, struct net_device *dev, /* Sheit... I remember I did this right. Apparently, * it was magically lost, so this code needs audit */ + xdst->u.rt6.n = neigh_clone(rt->n); xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | RTF_LOCAL); xdst->u.rt6.rt6i_metric = rt->rt6i_metric; |