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)
commit43fddb7576fbd543502b01f0c09a3a4171f7e038
tree99fc953205d04dd8be810fe85b7e4e9b5e34397a
parenta48665970962a9b50aa81722ca4e943fcfdc6699
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