]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
i40e: clean whole mac filter list
authorShannon Nelson <shannon.nelson@intel.com>
Thu, 19 Nov 2015 19:34:23 +0000 (11:34 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 13 Dec 2015 05:08:48 +0000 (21:08 -0800)
commitf11999987bc0b5559ab56dedc6f4ca32fab5438a
tree932873e614c656f603081b4c8dc949bdd03faf48
parentb9eacec3e66cd7e3db11882474024d1586d1f832
i40e: clean whole mac filter list

Clean the whole mac filter list when resetting after an intermediate
add or delete push to the firmware.  The code had evolved from using
a list from the stack to a heap allocation, but the memset() didn't
follow the change correctly.  This now cleans the whole list rather
that just part of the first element.

Change-ID: I4cd03d5a103b7407dd8556a3a231e800f2d6f2d5
Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c