1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/intel
Przemyslaw Patynowski d64aaf3f78 i40e: Disallow ip4 and ip6 l4_4_bytes
Return -EOPNOTSUPP, when user requests l4_4_bytes for raw IP4 or
IP6 flow director filters. Flow director does not support filtering
on l4 bytes for PCTYPEs used by IP4 and IP6 filters.
Without this patch, user could create filters with l4_4_bytes fields,
which did not do any filtering on L4, but only on L3 fields.

Fixes: 36777d9fa2 ("i40e: check current configured input set when adding ntuple filters")
Signed-off-by: Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
Signed-off-by: Kamil Maziarz  <kamil.maziarz@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
2022-12-05 08:30:51 -08:00
..
e1000 net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
e1000e e1000e: Fix TX dispatch condition 2022-11-30 11:26:55 -08:00
fm10k fm10k: Fix error handling in fm10k_init_module() 2022-11-23 08:36:55 -08:00
i40e i40e: Disallow ip4 and ip6 l4_4_bytes 2022-12-05 08:30:51 -08:00
iavf iavf: Fix error handling in iavf_init_module() 2022-11-23 08:37:33 -08:00
ice ice: fix handling of burst Tx timestamps 2022-11-21 20:50:35 -08:00
igb igb: Allocate MSI-X vector when testing 2022-11-30 11:27:22 -08:00
igbvf net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
igc net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgb net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgbe net: drop the weight argument from netif_napi_add 2022-09-28 18:57:14 -07:00
ixgbevf ixgbevf: Fix resource leak in ixgbevf_init_module() 2022-11-23 08:36:54 -08:00
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00
Kconfig ice: support crosstimestamping on E822 devices if supported 2021-12-21 09:11:40 -08:00
Makefile igc: Add skeletal frame for Intel(R) 2.5G Ethernet Controller support 2018-10-17 12:14:54 -07:00