On Mon, Jul 6, 2015 at 12:05 PM, Erik Kline <e...@google.com> wrote: > Per RFC 6724, section 4, "Candidate Source Addresses": > > It is RECOMMENDED that the candidate source addresses be the set > of unicast addresses assigned to the interface that will be used > to send to the destination (the "outgoing" interface). > > Add a sysctl to enable this behaviour. > > Signed-off-by: Erik Kline <e...@google.com>
I think this is useful, because it ensures that devices with a working IPv6 configuration on interface A, and a partial IPv6 configuration on interface B do not attempt to send packets on interface B using interface A's source address. Example: there are home routers in the wild that send out an IPv6 router advertisement that configures a default route but no IPv6 address. This change makes it so that the host does not attempt to use an IPv6 address from another network (e.g., a cellular data connection) on the home network. It is also what the RFC recommends. Acked-by: Lorenzo Colitti <lore...@google.com> -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html