On 10/26/18 5:24 AM, Mike Manning wrote: > Traceroute executed in a vrf succeeds if no device is given or if the > vrf is given as the device, but fails if the interface is given as the > device. This is for default UDP probes, it succeeds for TCP SYN or ICMP > ECHO probes. As the skb bound dev is the interface and the sk dev is > the vrf, sk lookup fails for ICMP_DEST_UNREACH and ICMP_TIME_EXCEEDED > messages. The solution is for the secondary dev to be passed so that > the interface is available for the device match to succeed, in the same > way as is already done for non-error cases. > > Signed-off-by: Mike Manning <mmann...@vyatta.att-mail.com> > --- > net/ipv4/udp.c | 4 ++-- > net/ipv6/udp.c | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) >
Reviewed-by: David Ahern <dsah...@gmail.com>