Re: [PATCH net-next v2] ipv4: fix validate_source for VRF setup

2017-11-01 Thread David Miller
From: Paolo Abeni Date: Tue, 31 Oct 2017 14:32:38 +0100 > David reported breakages of VRF scenarios due to the > commit 6e617de84e87 ("net: avoid a full fib lookup when rp_filter is > disabled."): the local addresses based test is too strict when VRFs > are in place. > > With this change we fall

Re: [PATCH net-next v2] ipv4: fix validate_source for VRF setup

2017-10-31 Thread David Ahern
On 10/31/17 7:32 AM, Paolo Abeni wrote: > David reported breakages of VRF scenarios due to the > commit 6e617de84e87 ("net: avoid a full fib lookup when rp_filter is > disabled."): the local addresses based test is too strict when VRFs > are in place. > > With this change we fall-back to a full lo

[PATCH net-next v2] ipv4: fix validate_source for VRF setup

2017-10-31 Thread Paolo Abeni
David reported breakages of VRF scenarios due to the commit 6e617de84e87 ("net: avoid a full fib lookup when rp_filter is disabled."): the local addresses based test is too strict when VRFs are in place. With this change we fall-back to a full lookup when custom fib rules are in place; so that we