]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: remove leftover VLAN filters
authorMitch A Williams <mitch.a.williams@intel.com>
Tue, 9 Dec 2014 08:53:05 +0000 (08:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 13 Jan 2015 19:47:42 +0000 (11:47 -0800)
commit3c90897a82377b10c6daf28b1070c9a31bc30029
tree8092558cbbdddd0e9cd89b0905c9cb02d6d58fda
parentb231f93b8a6b5e76a4fd86c979159333610e9d5d
i40evf: remove leftover VLAN filters

If we're using VLANs and communications with the PF fail during
shutdown, we will leak memory because not all of the VLAN filters will
be removed. To eliminate this possibility, go through the list again
right before the module is removed and delete any leftover entries.

Change-ID: Id3b5315c47ca0a61ae123a96ff345d010bc41aed
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Acked-by: Shannon Nelson <shannon.nelson@intel.com>
Tested-by: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c