Skip to content

Commit

Permalink
vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Aug 31, 2010
1 parent 01b3860 commit 72ed62f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/8021q/vlan_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 72ed62f

Please sign in to comment.