]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: protect VLAN filter list
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 31 Mar 2015 07:45:05 +0000 (00:45 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 3 Apr 2015 10:54:31 +0000 (03:54 -0700)
commitee7906c22cf70eab3a3a92fb081f90fbbc8cfd1c
tree4db1f132bff889917b421a5a99004b427567c35e
parentc6951721214117baa5aea74edd63584ba80656c8
i40evf: protect VLAN filter list

The MAC filter list is protected by a critical task bit, and the VLAN
list should be protected as well. This prevents list corruption if the
watchdog happens to run at the same time as a VLAN filter is being added
or deleted.

Change-ID: Ia4867cebbbb046a1f38012771b288a634ca5882b
Signed-off-by: Mitch Williams <mitch.a.williams@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