]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: clear promiscuous bits in adapter->flags while disabling promiscuous mode
authorSomnath kotur <somnath.kotur@emulex.com>
Mon, 3 Mar 2014 08:54:43 +0000 (14:24 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Mar 2014 20:48:11 +0000 (15:48 -0500)
commitacd9ecf7999507f7bca0501f81bf9ff1b9268508
tree1684ce8fdf7de1c9299ffff98fef1983a23bb74e
parent7154a3f0f5eae740e4024764c78aa7b7fa07d24a
be2net: clear promiscuous bits in adapter->flags while disabling promiscuous mode

We should clear promiscuous bits in adapter->flags while disabling promiscuous
mode. Else we will not put interface back into VLAN promisc mode if the vlans
already added exceeds the maximum limit.

Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c