Sending IPv6 packets broken in net-next
Subsystems (2)
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
Quoted 3 lines · Phil Sutter
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:
I just noticed, a patch fixing the issue has already been sent to this list[1]. So nevermind and sorry for the traffic!
Cheers, Phil