]> git.baikalelectronics.ru Git - kernel.git/commit
bna: fix vlan tag stripping and implement its toggling
authorIvan Vecera <ivecera@redhat.com>
Fri, 28 Feb 2014 13:14:03 +0000 (14:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Feb 2014 22:17:38 +0000 (17:17 -0500)
commit7a83d7b4197bd0347a7d6a5147bdeae57bd8f40c
tree6f04a363a424528f230fde0f3f82952f576cfdab
parent1f8a632529e278843bd6901b94b7ad723c2529e0
bna: fix vlan tag stripping and implement its toggling

The recent commit "8ed0023 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