Re: [PATCH net] net/ipv4: Set oif in fib_compute_spec_dst

2018-07-07 Thread David Miller
From: dsah...@kernel.org Date: Sat, 7 Jul 2018 16:15:26 -0700 > From: David Ahern > > Xin reported that icmp replies may not use the address on the device the > echo request is received if the destination address is broadcast. Instead > a route lookup is done without considering VRF context. Fi

[PATCH net] net/ipv4: Set oif in fib_compute_spec_dst

2018-07-07 Thread dsahern
From: David Ahern Xin reported that icmp replies may not use the address on the device the echo request is received if the destination address is broadcast. Instead a route lookup is done without considering VRF context. Fix by setting oif in flow struct to the master device if it is enslaved. Th