Skip to contentSkip to conversation

IPv6: rt->n (neighbour in rt6_info) removal, TAKE 4.

PATCH In review YOSHIFUJI Hideaki 2 participants 2 messages Jan 17, 2013

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

cover IPv6: rt->n (neighbour in rt6_info) removal, TAKE 4.

This is "TAKE 4" of neighbour removal from rt6_info.

3->4:
- error check in ip6_finish_output2(), in 10/11.

---

YOSHIFUJI Hideaki (11):
ndisc: Update neigh->updated with write lock.
ndisc: Remove tbl argument for __ipv6_neigh_lookup(). ipv6 route: Dump gateway based on RTF_GATEWAY flag and

    rt->rt6i_gateway.

ndisc: Introduce __ipv6_neigh_lookup_noref().
ipv6: Do not depend on rt->n in ip6_pol_route().
ipv6: Do not depend on rt->n in rt6_check_neigh().
ipv6: Do not depend on rt->n in rt6_probe().
ipv6: Introduce rt6_nexthop() to select nexthop address.
ipv6: Do not depend on rt->n in ip6_dst_lookup_tail().
ipv6: Do not depend on rt->n in ip6_finish_output2().
ipv6: Complete neighbour entry removal from dst_entry.

 include/net/ip6_fib.h   |    2 -
 include/net/ip6_route.h |    8 +++
 include/net/ndisc.h     |   24 ++++++---
 net/ipv6/ip6_output.c   |   26 ++++++---
 net/ipv6/route.c        |  138 ++++++++++++-----------------------------------
 net/ipv6/xfrm6_policy.c |    1 -
 6 files changed, 76 insertions(+), 123 deletions(-)
Signature · 1 line
1.7.9.5
maintainer
#1 lore raw

From: YOSHIFUJI Hideaki <[email protected]>
Date: Fri, 18 Jan 2013 07:52:51 +0900

Quoted 4 lines

This is "TAKE 4" of neighbour removal from rt6_info.

3->4:
- error check in ip6_finish_output2(), in 10/11.

All applied, I'll push this out to net-next after some quick build validations, thanks a lot!