aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/iavf/iavf_main.c
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <[email protected]>2024-04-24 12:53:40 +0000
committerJakub Kicinski <[email protected]>2024-04-26 02:36:37 +0000
commit8c65e27b42fc9a3646bc58ada1cb26eab043e515 (patch)
tree6a8e2ce42628d388a117e5c1b8c830bdea80f3a3 /drivers/net/ethernet/intel/iavf/iavf_main.c
parentnet: lan966x: flower: rename goto in lan966x_tc_flower_handler_control_usage() (diff)
downloadkernel-8c65e27b42fc9a3646bc58ada1cb26eab043e515.tar.gz
kernel-8c65e27b42fc9a3646bc58ada1cb26eab043e515.zip
net: lan966x: flower: check for unsupported control flags
Use flow_rule_is_supp_control_flags() to reject filters with unsupported control flags. In case any unsupported control flags are masked, flow_rule_is_supp_control_flags() sets a NL extended error message, and we return -EOPNOTSUPP. Only compile-tested. Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Reviewed-by: Horatiu Vultur <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/iavf/iavf_main.c')
0 files changed, 0 insertions, 0 deletions