Skip to contentSkip to conversation

IPv6 rt->n removal (V2)

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

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

cover 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