diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2017-01-10 23:37:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-11 15:59:55 +0100 |
commit | 7a18c5b9fb31a999afc62b0e60978aa896fc89e9 (patch) | |
tree | 3f903f4e1515788b2d85c8c0ed1d4120fb01b8f7 /net/sctp/outqueue.c | |
parent | cgroup: move CONFIG_SOCK_CGROUP_DATA to init/Kconfig (diff) | |
download | linux-7a18c5b9fb31a999afc62b0e60978aa896fc89e9.tar.xz linux-7a18c5b9fb31a999afc62b0e60978aa896fc89e9.zip |
net: ipv4: Fix multipath selection with vrf
fib_select_path does not call fib_select_multipath if oif is set in the
flow struct. For VRF use cases oif is always set, so multipath route
selection is bypassed. Use the FLOWI_FLAG_SKIP_NH_OIF to skip the oif
check similar to what is done in fib_table_lookup.
Add saddr and proto to the flow struct for the fib lookup done by the
VRF driver to better match hash computation for a flow.
Fixes: 613d09b30f8b ("net: Use VRF device index for lookups on TX")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions