From 93f23fa747c40f2f7fc0d305d340d8d6a67d25f2 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Sat, 18 Apr 2015 10:26:54 +0300 Subject: ipoe: remove NETIF_F_HW_VLAN_CTAG_FILTER from virtual device features (fixed warn in register_netdevice) --- drivers/ipoe/ipoe.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/ipoe') diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index e13ec85..28a70ba 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; -- cgit v1.2.3