Skip to contentSkip to conversation

Sending IPv6 packets broken in net-next

DISCUSSION Phil Sutter 1 participant 2 messages Jul 15, 2015 – Jul 16, 2015

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

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

#1 lore raw
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

[1]: http://www.spinics.net/lists/netdev/msg335586.html