patch 'net/iavf: fix false success on flow validation' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:03:29 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/26. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.
Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable
This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/a7803ff8f5145356c8d25179b82ceac5bc23c7f9
Thanks.
Kevin
---
>From a7803ff8f5145356c8d25179b82ceac5bc23c7f9 Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Fri, 23 Oct 2026 10:32:23 +0100
Subject: [PATCH] net/iavf: fix false success on flow validation
[ upstream commit fae5ce5de601e286ca009f4a3d914d5824df0337 ]
`iavf_parse_engine_validate()` sets an error when validation fails, but
then returns the engine pointer. `iavf_flow_process_filter()` treats a
non-NULL engine as success, so `rte_flow_validate()` can accept an
invalid flow.
Return `NULL` on validation failure and return the engine only after
validation succeeds.
Fixes: ff2d0c345c3b ("net/iavf: support generic flow API")
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
drivers/net/intel/iavf/iavf_generic_flow.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/net/intel/iavf/iavf_generic_flow.c b/drivers/net/intel/iavf/iavf_generic_flow.c
index 2ce5488cff..ac928e03e7 100644
--- a/drivers/net/intel/iavf/iavf_generic_flow.c
+++ b/drivers/net/intel/iavf/iavf_generic_flow.c
@@ -2167,8 +2167,9 @@ iavf_parse_engine_validate(struct iavf_adapter *ad,
RTE_FLOW_ERROR_TYPE_HANDLE,
NULL, "Validation failed");
- break;
+ return NULL;
}
+ return engine;
}
- return engine;
+ return NULL;
}
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:47.243964451 +0000
+++ 0283-net-iavf-fix-false-success-on-flow-validation.patch 2026-12-03 12:52:39.226154340 +0000
@@ -1 +1 @@
-From fae5ce5de601e286ca009f4a3d914d5824df0337 Mon Sep 17 00:00:00 2001
+From a7803ff8f5145356c8d25179b82ceac5bc23c7f9 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fae5ce5de601e286ca009f4a3d914d5824df0337 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 92ca20031c..14242e6ebb 100644
+index 2ce5488cff..ac928e03e7 100644
@@ -27 +28 @@
-@@ -2135,8 +2135,9 @@ iavf_parse_engine_validate(struct iavf_adapter *ad,
+@@ -2167,8 +2167,9 @@ iavf_parse_engine_validate(struct iavf_adapter *ad,
More information about the stable
mailing list