Skip to content

IPv6 rt->n removal (V2)

YOSHIFUJI Hideaki netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ndisc: Refer/Update neigh->updated with write lock.net/ipv6/route.c+8 -42 replies
2/13ndisc: Remove tbl argument for __ipv6_neigh_lookup().include/net/ndisc.h net/ipv6/route.c+4 -40 replies
3/13ndisc: Introduce __ipv6_neigh_lookup_noref().include/net/ndisc.h+15 -70 replies
4/13ipv6 route: Dump gateway based on RTF_GATEWAY flag and rt->rt6i_gateway.net/ipv6/route.c+4 -80 replies
5/13ipv6: Introduce rt6_nexthop() to select nexthop address.include/net/ip6_route.h+9 -00 replies
6/13ipv6: Do not depend on rt->n in ip6_finish_output2().net/ipv6/ip6_output.c+13 -50 replies
7/13ipv6: Do not repend on rt->n in rt6_probe().net/ipv6/route.c+16 -101 reply
8/13ipv6: Do not deoend on rt->n in ip6_dst_lookup_tail().net/ipv6/ip6_output.c+6 -22 replies
9/13ipv6: Do not depend on rt->n in rt6_check_neigh().net/ipv6/route.c+10 -51 reply
10/13ipv6: Do not depend on rt->n in ip6_pol_route().net/ipv6/route.c+3 -20 replies
11/13ipv6: Use ip6_route_output() instead of icmp6_dst_alloc().net/ipv6/mcast.c net/ipv6/ndisc.c+4 -40 replies
12/13ipv6: Remove temporary dst for icmpv6.net/ipv6/ip6_fib.c net/ipv6/route.c+1 -992 replies
13/13ipv6: Complete neighbour entry removal from dst_entry.include/net/ip6_fib.h net/ipv6/route.c net/ipv6/xfrm6_policy.c+3 -682 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC(v2) net-next 00/13] IPv6 rt->n removal (V2)

Hello.

This is RFC (Take 2).

Some unused variable / code still remain. Need to revisit refcounting (rt->dst.dev, rt->n->dev).

--yoshfuji

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

    rt->rt6i_gateway.

ipv6: Introduce rt6_nexthop() to select nexthop address.
ipv6: Do not depend on rt->n in ip6_finish_output2().
ipv6: Do not repend on rt->n in rt6_probe().
ipv6: Do not deoend on rt->n in ip6_dst_lookup_tail().
ipv6: Do not depend on rt->n in rt6_check_neigh().
ipv6: Do not depend on rt->n in ip6_pol_route().
ipv6: Use ip6_route_output() instead of icmp6_dst_alloc().
ipv6: Remove temporary dst for icmpv6.
ipv6: Complete neighbour entry removal from dst_entry.

 include/net/ip6_fib.h   |    2 -
 include/net/ip6_route.h |    9 ++
 include/net/ndisc.h     |   24 +++--
 net/ipv6/ip6_fib.c      |    2 +-
 net/ipv6/ip6_output.c   |   26 ++++--
 net/ipv6/mcast.c        |    5 +-
 net/ipv6/ndisc.c        |    3 +-
 net/ipv6/route.c        |  222 ++++++++---------------------------------------
 net/ipv6/xfrm6_policy.c |    1 -
 9 files changed, 86 insertions(+), 208 deletions(-)
Signature · 1 line
1.7.9.5