]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Fix removal of unicast MAC filters of VFs
authorKaren Sornek <karen.sornek@intel.com>
Tue, 31 Aug 2021 11:16:35 +0000 (13:16 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 15 Dec 2021 19:08:18 +0000 (11:08 -0800)
commit4abc441892f1ffea970d76ba5daf4f363d7d9040
treee19f769115b8c4ddb43d112a9137442886d71c26
parent1596591550abe601a173ed5251ad1c0f4d99e78e
igb: Fix removal of unicast MAC filters of VFs

Move checking condition of VF MAC filter before clearing
or adding MAC filter to VF to prevent potential blackout caused
by removal of necessary and working VF's MAC filter.

Fixes: e6c92628193d ("igb: add VF trust infrastructure")
Signed-off-by: Karen Sornek <karen.sornek@intel.com>
Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c