summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-04-18 10:26:54 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-04-18 10:26:54 +0300
commit93f23fa747c40f2f7fc0d305d340d8d6a67d25f2 (patch)
tree39b7f7e8a1fb24eaf565c3c9a6b6c8db6ee8c4ad /drivers
parent1c0a0c67d1b3331a638fd73317d7e1b8c4ab34bc (diff)
downloadaccel-ppp-93f23fa747c40f2f7fc0d305d340d8d6a67d25f2.tar.gz
accel-ppp-93f23fa747c40f2f7fc0d305d340d8d6a67d25f2.zip
ipoe: remove NETIF_F_HW_VLAN_CTAG_FILTER from virtual device features (fixed warn in register_netdevice)
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ipoe/ipoe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c
index e13ec859..28a70ba1 100644
--- a/drivers/ipoe/ipoe.c
+++ b/drivers/ipoe/ipoe.c
@@ -1156,6 +1156,7 @@ static void ipoe_netdev_setup(struct net_device *dev)
dev->iflink = 0;
dev->addr_len = ETH_ALEN;
dev->features |= NETIF_F_NETNS_LOCAL;
+ dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER;
dev->header_ops = &ipoe_hard_header_ops;
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35)
dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;