aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2017-10-31 14:32:38 +0100
committerDavid S. Miller <davem@davemloft.net>2017-11-01 21:25:15 +0900
commit032a480202245e384fdbcac92da720d697384d8e (patch)
treed5582c785f7927df4dd1cc5292512debb1f5936a /drivers/net/ethernet/cadence
parentsctp: fix error return code in sctp_send_add_streams() (diff)
downloadlinux-dev-032a480202245e384fdbcac92da720d697384d8e.tar.xz
linux-dev-032a480202245e384fdbcac92da720d697384d8e.zip
ipv4: fix validate_source for VRF setup
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 address the VRF use case and possibly other similar issues in non trivial setups. v1 -> v2: - fix build breakage when CONFIG_IP_MULTIPLE_TABLES is not defined, reported by the kbuild test robot Reported-by: David Ahern <dsahern@gmail.com> Fixes: 6e617de84e87 ("net: avoid a full fib lookup when rp_filter is disabled.") Signed-off-by: Paolo Abeni <pabeni@redhat.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
0 files changed, 0 insertions, 0 deletions