diff options
author | Przemyslaw Patynowski <przemyslawx.patynowski@intel.com> | 2022-11-15 11:49:25 +0300 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-12-05 19:30:51 +0300 |
commit | d64aaf3f7869f915fd120763d75f11d6b116424d (patch) | |
tree | 3e51e1c64d06a029c6509a0b5a0d7b934675df10 /drivers/tty/mxser.c | |
parent | 08501970472077ed5de346ad89943a37d1692e9b (diff) | |
download | linux-d64aaf3f7869f915fd120763d75f11d6b116424d.tar.xz |
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: 36777d9fa24c ("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>
Diffstat (limited to 'drivers/tty/mxser.c')
0 files changed, 0 insertions, 0 deletions