]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Clear stale pool mappings
authorAlexander Duyck <aduyck@mirantis.com>
Tue, 3 Nov 2015 01:10:26 +0000 (17:10 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 12 Dec 2015 10:05:21 +0000 (02:05 -0800)
commite1e03ee41593db0100e0a63319c7848f7cdba589
treec08173762f6178123cdccd5faeca57193f7e6f10
parentb42bdd72e3d93d60a8f86ff8eed61095e28847b2
ixgbe: Clear stale pool mappings

This patch makes certain that we clear the pool mappings added when we
configure default MAC addresses for the interface.  Without this we run the
risk of leaking an address into pool 0 which really belongs to VF 0 when
SR-IOV is enabled.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c