ice: fix FDir IPv6 flexbyte
authorHenry Tieman <henry.w.tieman@intel.com>
Sat, 21 Nov 2020 00:38:30 +0000 (16:38 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 26 Jan 2021 18:43:49 +0000 (10:43 -0800)
commit29e2d9eb82647654abff150ff02fa1e07362214f
tree5518e7f9999dd87a7b674c2c035fa3de63b9ad0b
parent07d46d93c9acdfe0614071d73c415dd5f745cc6e
ice: fix FDir IPv6 flexbyte

The packet classifier would occasionally misrecognize an IPv6 training
packet when the next protocol field was 0. The correct value for
unspecified protocol is IPPROTO_NONE.

Fixes: 165d80d6adab ("ice: Support IPv6 Flow Director filters")
Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c