diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-08-31 00:58:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-31 16:37:05 -0400 |
commit | 72ed62f7c9f0abe11231d073195a722ee43d6ec1 (patch) | |
tree | 7be4b4f359060c067cd6e3d419a6d2d51acd847f /net/8021q | |
parent | 01b38606bded44bf8b7ca42e8fe5f2cad5d28121 (diff) |
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 <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
40 | struct net_device *dev = skb->dev; | 40 | struct net_device *dev = skb->dev; |
41 | struct vlan_rx_stats *rx_stats; | 41 | struct vlan_rx_stats *rx_stats; |
42 | 42 | ||
43 | skb->dev = vlan_dev_info(dev)->real_dev; | 43 | skb->dev = vlan_dev_real_dev(dev); |
44 | netif_nit_deliver(skb); | 44 | netif_nit_deliver(skb); |
45 | 45 | ||
46 | skb->dev = dev; | 46 | skb->dev = dev; |