diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2015-11-19 11:34:23 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-12 21:08:48 -0800 |
commit | f11999987bc0b5559ab56dedc6f4ca32fab5438a (patch) | |
tree | 932873e614c656f603081b4c8dc949bdd03faf48 /net/switchdev/switchdev.c | |
parent | b9eacec3e66cd7e3db11882474024d1586d1f832 (diff) |
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions