Re: [PATCH net] net: ipv4: Fix multipath selection with vrf

2017-01-11 Thread David Miller
From: David Ahern Date: Tue, 10 Jan 2017 14:37:35 -0800 > 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

[PATCH net] net: ipv4: Fix multipath selection with vrf

2017-01-10 Thread David Ahern
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 stru