Re: [Patch net v3 1/2] fib: relax source validation check for loopback packets

2019-07-17 Thread David Ahern
On 7/17/19 3:41 PM, Cong Wang wrote: > In a rare case where we redirect local packets from veth to lo, > these packets fail to pass the source validation when rp_filter > is turned on, as the tracing shows: > > <...>-311708 [040] ..s1 7951180.957825: fib_table_lookup: table 254 oif 0 > iif 1 sr

[Patch net v3 1/2] fib: relax source validation check for loopback packets

2019-07-17 Thread Cong Wang
In a rare case where we redirect local packets from veth to lo, these packets fail to pass the source validation when rp_filter is turned on, as the tracing shows: <...>-311708 [040] ..s1 7951180.957825: fib_table_lookup: table 254 oif 0 iif 1 src 10.53.180.130 dst 10.53.180.130 tos 0 scope 0 f