Skip to content

RFC Fix problems with IPv6 routing subtrees and source address selection

Ville Nuorvala netdev 1 version Applied

Status from this message: Applied, thanks a lot.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest13 patches 28 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/13Remove struct pol_chain.include/net/ip6_route.h+0 -71 reply
2/13Fix minor typonet/sctp/socket.c+1 -11 reply
3/13Make sure error handling is done when calling ip6_route_output().net/ipv6/xfrm6_policy.c net/sctp/ipv6.c+12 -101 reply
4/13Clean up BACKTRACK().net/ipv6/route.c+1 -11 reply
5/13Make IPV6_SUBTREES depend on IPV6_MULTIPLE_TABLES.net/ipv6/Kconfig+8 -81 reply
6/13Always copy rt->u.dst.error when copying a rt6_info.net/ipv6/route.c+1 -21 reply
7/13Move source address selection into route lookup.net/ipv6/ip6_output.c net/ipv6/route.c+22 -2111 replies
8/13Get rid of ipv6_get_saddr() in xfrm6_get_saddr().net/ipv6/xfrm6_policy.c+1 -20 replies
9/13Merge IPv4 and IPv6 versions of get_saddr() with their corresponding get_dst().include/net/sctp/structs.h net/sctp/ipv6.c net/sctp/protocol.c +1 more+148 -1584 replies
9/13Merge IPv4 and IPv6 versions of get_saddr() with their corresponding get_dst().+0 -00 replies
10/13Don't export ipv6_get_saddr().net/ipv6/ipv6_syms.c+0 -10 replies
11/13Merge ipv6_dev_get_saddr() and ipv6_get_saddr().include/net/addrconf.h net/ipv6/addrconf.c net/ipv6/ndisc.c +1 more+11 -220 replies
12/13Make sure route cache entries have a valid source address.net/ipv6/route.c+5 -100 replies
13/13Fix source prefix routing problems when source address undefined.include/net/addrconf.h include/net/ip6_fib.h net/ipv6/addrconf.c +4 more+66 -287 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/13] [RFC] Fix problems with IPv6 routing subtrees and source address selection

Hi,

here are a bunch of more or less related patches having to do with fixing the IPv6 routing subtrees and source address selection. Most of the code is a cleaned up version of what I've written earlier for MIPL 2, where it has worked pretty well for a couple of years now.

The SCTP code, however, turned out to be messier and more difficult to fix than I had originally thought. As I'm not that familiar with SCTP and don't really have an opportunity to test the code I'm especially grateful for any comments regarding those parts of the code.

I've tried to split up the changes into logical parts to help digest them. Please comment!

Regards,
Ville