diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2015-04-18 10:26:54 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2015-04-18 10:26:54 +0300 |
| commit | 93f23fa747c40f2f7fc0d305d340d8d6a67d25f2 (patch) | |
| tree | 39b7f7e8a1fb24eaf565c3c9a6b6c8db6ee8c4ad | |
| parent | 1c0a0c67d1b3331a638fd73317d7e1b8c4ab34bc (diff) | |
| download | accel-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)
| -rw-r--r-- | drivers/ipoe/ipoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
