]> www.infradead.org Git - users/jedix/linux-maple.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)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 10 Mar 2016 16:36:39 +0000 (08:36 -0800)
commit6e9413045ff86c3d3ea4af2c141c8f87f7f6f899
treea72365f1be4dcbfea944256354afbbbb9d8c8ac8
parent85dc1ceb24c93b527c5e6586bcbc9d6c0c84bf4e
i40e: clean whole mac filter list

Orabug: 22342532

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>
(cherry picked from commit f11999987bc0b5559ab56dedc6f4ca32fab5438a)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c