mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
net: Rename IFF_VRF_MASTER to IFF_L3MDEV_MASTER
Rename IFF_VRF_MASTER to IFF_L3MDEV_MASTER and update the name of the netif_is_vrf and netif_index_is_vrf macros. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e6934f3ec0
commit
007979eaf9
7 changed files with 16 additions and 16 deletions
|
@ -2124,7 +2124,7 @@ struct rtable *__ip_route_output_key(struct net *net, struct flowi4 *fl4)
|
|||
fl4->saddr = inet_select_addr(dev_out, 0,
|
||||
RT_SCOPE_HOST);
|
||||
}
|
||||
if (netif_is_vrf(dev_out) &&
|
||||
if (netif_is_l3_master(dev_out) &&
|
||||
!(fl4->flowi4_flags & FLOWI_FLAG_VRFSRC)) {
|
||||
rth = vrf_dev_get_rth(dev_out);
|
||||
goto out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue