diff options
Diffstat (limited to 'drivers/net/ipvlan')
-rw-r--r-- | drivers/net/ipvlan/ipvlan_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ipvlan/ipvlan_core.c b/drivers/net/ipvlan/ipvlan_core.c index 2a175006028b..131bde98188d 100644 --- a/drivers/net/ipvlan/ipvlan_core.c +++ b/drivers/net/ipvlan/ipvlan_core.c | |||
@@ -330,7 +330,7 @@ static int ipvlan_process_v4_outbound(struct sk_buff *skb) | |||
330 | struct rtable *rt; | 330 | struct rtable *rt; |
331 | int err, ret = NET_XMIT_DROP; | 331 | int err, ret = NET_XMIT_DROP; |
332 | struct flowi4 fl4 = { | 332 | struct flowi4 fl4 = { |
333 | .flowi4_oif = dev->iflink, | 333 | .flowi4_oif = dev_get_iflink(dev), |
334 | .flowi4_tos = RT_TOS(ip4h->tos), | 334 | .flowi4_tos = RT_TOS(ip4h->tos), |
335 | .flowi4_flags = FLOWI_FLAG_ANYSRC, | 335 | .flowi4_flags = FLOWI_FLAG_ANYSRC, |
336 | .daddr = ip4h->daddr, | 336 | .daddr = ip4h->daddr, |