Skip to content

IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)

YOSHIFUJI Hideaki netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11ndisc: Update neigh->updated with write lock.net/ipv6/route.c+8 -40 replies
2/11ndisc: Remove tbl argument for __ipv6_neigh_lookup().include/net/ndisc.h net/ipv6/route.c+4 -40 replies
3/11ipv6 route: Dump gateway based on RTF_GATEWAY flag and rt->rt6i_gateway.net/ipv6/route.c+4 -80 replies
4/11ndisc: Introduce __ipv6_neigh_lookup_noref().include/net/ndisc.h+15 -70 replies
5/11ipv6: Do not depend on rt->n in ip6_pol_route().net/ipv6/route.c+1 -10 replies
6/11ipv6: Do not depend on rt->n in rt6_check_neigh().net/ipv6/route.c+9 -50 replies
7/11ipv6: Do not depend on rt->n in rt6_probe().net/ipv6/route.c+16 -100 replies
8/11ipv6: Introduce rt6_nexthop() to select nexthop address.include/net/ip6_route.h+8 -00 replies
9/11ipv6: Do not depend on rt->n in ip6_dst_lookup_tail().net/ipv6/ip6_output.c+6 -20 replies
10/11ipv6: Do not depend on rt->n in ip6_finish_output2().net/ipv6/ip6_output.c+13 -50 replies
11/11ipv6: Complete neighbour entry removal from dst_entry.include/net/ip6_fib.h net/ipv6/route.c net/ipv6/xfrm6_policy.c+1 -860 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 00/11] IPv6: rt->n (neighbour in rt6_info) removal (TAKE 3)

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

2->3:
- Removed "icmp6_dst_alloc() removal" patch. This is nothing to do with this series.
- Removed several unused variables, ifdefs, BUG_ONs.
- Handled several comments from Cong Wang.
- Reordered.

---
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