Hi,

Commit 9131f3d ("ipv6: Do not iterate over all interfaces when finding
source address on specific interface") breaks local output of IPv6
packets. Here is a simple reproducer:

---- 8< -----
ip link add eth6 type veth peer name eth7
ip netns add test
ip link set eth7 netns test
ip netns exec test ip link set eth7 up
ip netns exec test ip a a feed:babe::1/64 dev eth7

ip link set eth6 up
ip a a feed:babe::2/64 dev eth6

ping6 feed:babe::1
---- 8< -----

Output from 'tcpdump -npi eth6':

| 00:08:24.214584 IP6 :: > feed:babe::1: ICMP6, echo request, seq 22, length 64
| 00:08:25.214540 IP6 :: > feed:babe::1: ICMP6, echo request, seq 23, length 64

Cheers, Phil
--
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

Reply via email to