* [patch net-next-2.6] vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive
@ 2010-08-31 14:58 Jiri Pirko
2010-08-31 20:37 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2010-08-31 14:58 UTC (permalink / raw)
To: netdev; +Cc: davem
[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>
---
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 3438c01..889f4ac 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;
--
1.7.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [patch net-next-2.6] vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive
2010-08-31 14:58 [patch net-next-2.6] vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive Jiri Pirko
@ 2010-08-31 20:37 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-08-31 20:37 UTC (permalink / raw)
To: jpirko; +Cc: netdev
From: Jiri Pirko <jpirko@redhat.com>
Date: Tue, 31 Aug 2010 16:58:18 +0200
> [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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-31 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 14:58 [patch net-next-2.6] vlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive Jiri Pirko
2010-08-31 20:37 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).