patch 'net/ice: reject unsupported flow item range' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Thu Jul 30 11:17:09 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/04/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/e20af60594f480e2259d950442021eabf9e33f02

Thanks.

Kevin

---
>From e20af60594f480e2259d950442021eabf9e33f02 Mon Sep 17 00:00:00 2001
From: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
Date: Sat, 11 Jul 2026 23:26:47 -0400
Subject: [PATCH] net/ice: reject unsupported flow item range

[ upstream commit 8aaeb5aae4fbfac99c910df18c2f35b38cc20ac2 ]

In ice_fdir_parse_pattern(), a flow item that specifies a 'last'
member (a range) is only allowed for IPV4 and IPV6_FRAG_EXT item
types.  For other item types the code set an rte_flow error but did
not return, so parsing continued from an inconsistent state.

Add the missing return so an unsupported range aborts parsing.

Fixes: b7e8781de768 ("net/ice: support flow director for IP fragment packet")

Signed-off-by: Sandeep Penigalapati <sandeep.penigalapati at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/intel/ice/ice_fdir_filter.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/intel/ice/ice_fdir_filter.c b/drivers/net/intel/ice/ice_fdir_filter.c
index 341f4cb210..55e5c09fb7 100644
--- a/drivers/net/intel/ice/ice_fdir_filter.c
+++ b/drivers/net/intel/ice/ice_fdir_filter.c
@@ -1841,4 +1841,5 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,
 					   RTE_FLOW_ERROR_TYPE_ITEM, item,
 					   "Not support range");
+			return -rte_errno;
 		}
 
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-30 10:16:04.018911786 +0100
+++ 0090-net-ice-reject-unsupported-flow-item-range.patch	2026-07-30 10:16:01.510875304 +0100
@@ -1 +1 @@
-From 8aaeb5aae4fbfac99c910df18c2f35b38cc20ac2 Mon Sep 17 00:00:00 2001
+From e20af60594f480e2259d950442021eabf9e33f02 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 8aaeb5aae4fbfac99c910df18c2f35b38cc20ac2 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org
@@ -23 +24 @@
-index fc848a33db..d7ddd32f90 100644
+index 341f4cb210..55e5c09fb7 100644
@@ -26 +27 @@
-@@ -1930,4 +1930,5 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,
+@@ -1841,4 +1841,5 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,



More information about the stable mailing list