diff options
author | Asbjørn Sloth Tønnesen <ast@fiberby.net> | 2024-04-16 14:43:35 +0000 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-05-08 09:22:33 -0700 |
commit | fb324f2b22a6aee38d649aa3dad80cc77cfc7070 (patch) | |
tree | a5e012ebe2333d98a02afd1ec6bf6bd426f3facb /drivers/net/ethernet/intel/igc | |
parent | 21e1fe9e84f4f2fa672add77a9f9dae7e9d18b6e (diff) |
igb: flower: validate control flags
This driver currently doesn't support any control flags.
Use flow_rule_match_has_control_flags() to check for control flags,
such as can be set through `tc flower ... ip_flags frag`.
In case any control flags are masked, flow_rule_match_has_control_flags()
sets a NL extended error message, and we return -EOPNOTSUPP.
Only compile-tested.
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions