bna: fix vlan tag stripping and implement its toggling
commit877767dccf5c35d4ed245701956effb72af77d52
authorIvan Vecera <ivecera@redhat.com>
Fri, 28 Feb 2014 13:14:03 +0000 (28 14:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2014 22:17:38 +0000 (28 17:17 -0500)
tree6f04a363a424528f230fde0f3f82952f576cfdab
parentd7b95315cc7f441418845a165ee56df723941487
bna: fix vlan tag stripping and implement its toggling

The recent commit "fe1624c bna: RX Filter Enhancements" disables
VLAN tag stripping if the NIC is in promiscuous mode. This causes
__vlan_hwaccel_put_tag() is called when the stripping is disabled.
Because of this VLAN over bna does not work and causes BUGs in conjunction
with openvswitch like this:
Reviewed-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c