]> 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)
commit3d2ec68450b1c8ab2b287db73c03ae98a87726df
tree1684ce8fdf7de1c9299ffff98fef1983a23bb74e
parentd9eb8d920a5ac164f7fab42245ce1601de16787f
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