Skip to content
Commit 17b693cd authored by David Lamparter's avatar David Lamparter Committed by David S. Miller
Browse files

net: l3mdev: prefer VRF master for source address selection



When selecting an address in context of a VRF, the vrf master should be
preferred for address selection.  If it isn't, the user has a hard time
getting the system to select to their preference - the code will pick
the address off the first in-VRF interface it can find, which on a
router could well be a non-routable address.

Signed-off-by: default avatarDavid Lamparter <equinox@diac24.net>
Signed-off-by: default avatarDavid Ahern <dsa@cumulusnetworks.com>
[dsa: Fixed comment style and removed extra blank link ]
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3f2fb9a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment