[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E0ED194.2030103@cn.fujitsu.com>
Date: Sat, 02 Jul 2011 16:06:44 +0800
From: Shan Wei <shanwei@...fujitsu.com>
To: David Miller <davem@...emloft.net>,
单卫 <shanwei@...fujitsu.com>,
netdev <netdev@...r.kernel.org>,
Alexey Dobriyan <adobriyan@...il.com>, tj@...nel.org
Subject: [PATCH] net: 8139too: Initial necessary vlan_features to support
vlan
Offload setting of vlan device requires
vlan_features to be initialed.
Signed-off-by: Shan Wei <shanwei@...fujitsu.com>
---
drivers/net/8139too.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/net/8139too.c b/drivers/net/8139too.c
index ed6355c..c2672c6 100644
--- a/drivers/net/8139too.c
+++ b/drivers/net/8139too.c
@@ -993,6 +993,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
* features
*/
dev->features |= NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_HIGHDMA;
+ dev->vlan_features = dev->features;
dev->irq = pdev->irq;
--
1.7.4.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists