|
@@ -208,7 +208,7 @@ static netdev_tx_t vrf_process_v4_outbound(struct sk_buff *skb,
|
|
|
.flowi4_oif = vrf_dev->ifindex,
|
|
|
.flowi4_iif = LOOPBACK_IFINDEX,
|
|
|
.flowi4_tos = RT_TOS(ip4h->tos),
|
|
|
- .flowi4_flags = FLOWI_FLAG_ANYSRC | FLOWI_FLAG_VRFSRC |
|
|
|
+ .flowi4_flags = FLOWI_FLAG_ANYSRC | FLOWI_FLAG_L3MDEV_SRC |
|
|
|
FLOWI_FLAG_SKIP_NH_OIF,
|
|
|
.daddr = ip4h->daddr,
|
|
|
};
|
|
@@ -545,7 +545,7 @@ static struct rtable *vrf_get_rtable(const struct net_device *dev,
|
|
|
{
|
|
|
struct rtable *rth = NULL;
|
|
|
|
|
|
- if (!(fl4->flowi4_flags & FLOWI_FLAG_VRFSRC)) {
|
|
|
+ if (!(fl4->flowi4_flags & FLOWI_FLAG_L3MDEV_SRC)) {
|
|
|
struct net_vrf *vrf = netdev_priv(dev);
|
|
|
|
|
|
rth = vrf->rth;
|