From: Scott Feldman Date: Thu, 3 Sep 2009 17:02:29 +0000 (+0000) Subject: enic: bug fix: enable VLAN filtering X-Git-Tag: v2.6.32-rc1~703^2~91 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=9f63a7c6aef00a8eafa7521342099f199f68c575;p=linux-block.git enic: bug fix: enable VLAN filtering Bug fix: enable VLAN filtering Signed-off-by: Scott Feldman Signed-off-by: David S. Miller --- diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index e01067e727b2..e0bf224d7f9b 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c @@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev, break; } - netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX; + netdev->features |= NETIF_F_HW_VLAN_TX | + NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER; if (ENIC_SETTING(enic, TXCSUM)) netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; if (ENIC_SETTING(enic, TSO))