]> git.baikalelectronics.ru Git - kernel.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)
commit7403b539f4a12dbe46693b8a42618312829673e7
tree932873e614c656f603081b4c8dc949bdd03faf48
parentebabbb38060f5aac20eba41df87b33503f13f61e
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