From: Jiri Pirko Date: Tue, 31 Aug 2010 04:58:18 +0000 (+0000) Subject: vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=72ed62f7c9f0abe11231d073195a722ee43d6ec1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive [patch net-next-2.6] vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive Use helper as in other places. Signed-off-by: Jiri Pirko Signed-off-by: David S. Miller --- diff --git a/net/8021q/vlan_core.c b/net/8021q/vlan_core.c index 3438c01bbacf..889f4ac4459a 100644 --- a/net/8021q/vlan_core.c +++ b/net/8021q/vlan_core.c @@ -40,7 +40,7 @@ void vlan_hwaccel_do_receive(struct sk_buff *skb) struct net_device *dev = skb->dev; struct vlan_rx_stats *rx_stats; - skb->dev = vlan_dev_info(dev)->real_dev; + skb->dev = vlan_dev_real_dev(dev); netif_nit_deliver(skb); skb->dev = dev;