Skip to contentSkip to conversation

ipv6: Complete neighbour entry removal from dst_entry.

PATCH In review YOSHIFUJI Hideaki 1 participant 1 message Jan 17, 2013

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 11/11 ipv6: Complete neighbour entry removal from dst_entry.

---
 include/net/ip6_fib.h   |    2 --
 net/ipv6/route.c        |   84 +----------------------------------------------
 net/ipv6/xfrm6_policy.c |    1 -
 3 files changed, 1 insertion(+), 86 deletions(-)
include/net/ip6_fib.h +0 -2
index fdc48a9..6919a50 100644
@@ -89,8 +89,6 @@ 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
net/ipv6/route.c +1 -83

165 lines not on this page · raw message

net/ipv6/xfrm6_policy.c +0 -1
index c984413..1282737 100644
@@ -110,7 +110,6 @@ 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;
Signature · 1 line
1.7.9.5