]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Fix a bug in the update logic for FDIR SB filter.
authorAnjali Singhai Jain <anjali.singhai@intel.com>
Tue, 11 Feb 2014 08:24:09 +0000 (08:24 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Mar 2014 23:29:15 +0000 (16:29 -0700)
commit2ef4f4d27affc6804c9ce8a286c7b652f0af9d16
tree99fc953205d04dd8be810fe85b7e4e9b5e34397a
parent99216a2f22b73bddb0b9d9873585ba2da2058c4a
i40e: Fix a bug in the update logic for FDIR SB filter.

The update filter logic was causing a kernel panic in the original code.
We need to compare the input set to decide whether or not to delete a
filter since we do not have a hash stored. This new design helps fix the issue.

Change-ID: I2462b108e58ca4833312804cda730b4660cc18c9
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c