]> Pileus Git - ~andy/linux/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)
commit7ad09458a5be9a0990457c1a198e702559ac25ca
tree1684ce8fdf7de1c9299ffff98fef1983a23bb74e
parentc502224efb2eaec47f16da39235079598a0f3ed2
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