]> git.baikalelectronics.ru Git - kernel.git/commit
igb: clear VF_PROMISC bits instead of setting all other bits
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Sep 2010 17:56:20 +0000 (17:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Sep 2010 04:20:03 +0000 (21:20 -0700)
commit09876f755d8281287e99ee7c7f51eed829c353c2
treeb507aff12a94c51e48e0bca5eaa21ab5c82e6b50
parent1ca421147523629f278f1fb638de22519958afe0
igb: clear VF_PROMISC bits instead of setting all other bits

This change corrects an issue in which we were setting all flag bits except
for promisc instead of clearing the promisc bits due to the incorrect use
of an |= instead of an &=.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c