patch 'net/iavf: fix struct size in IPsec status get' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:02:12 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/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/006702144fc214edf415776bb7afed913ab61610
Thanks.
Kevin
---
>From 006702144fc214edf415776bb7afed913ab61610 Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Fri, 20 Feb 2026 10:01:07 +0000
Subject: [PATCH] net/iavf: fix struct size in IPsec status get
[ upstream commit 47438158efc2bd0fcd81de6c3ea1d335640f630e ]
Current code for getting crypto status is using sizeof() of cap struct
instead of status structure. This is not a big problem because cap struct
is a lot bigger, but the code is misleading. Fix it to use the correct
struct.
Fixes: 3940cd9b8cb3 ("net/iavf: fix device initialization without inline crypto")
Reported-by: Stephen Hemminger <stephen at networkplumber.org>
Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Radu Nicolau <radu.nicolau at intel.com>
---
drivers/net/intel/iavf/iavf_ipsec_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/intel/iavf/iavf_ipsec_crypto.c b/drivers/net/intel/iavf/iavf_ipsec_crypto.c
index d5bfbecf08..484661f501 100644
--- a/drivers/net/intel/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/intel/iavf/iavf_ipsec_crypto.c
@@ -1601,5 +1601,5 @@ iavf_ipsec_crypto_status_get(struct iavf_adapter *adapter,
response_len = sizeof(struct inline_ipsec_msg) +
- sizeof(struct virtchnl_ipsec_cap);
+ sizeof(struct virtchnl_ipsec_status);
response = rte_malloc("iavf-device-status-response",
response_len, 0);
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:07.537163120 +0000
+++ 0014-net-iavf-fix-struct-size-in-IPsec-status-get.patch 2026-03-19 10:01:07.067331263 +0000
@@ -1 +1 @@
-From 47438158efc2bd0fcd81de6c3ea1d335640f630e Mon Sep 17 00:00:00 2001
+From 006702144fc214edf415776bb7afed913ab61610 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 47438158efc2bd0fcd81de6c3ea1d335640f630e ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 6d41b1744e..ab41b1973e 100644
+index d5bfbecf08..484661f501 100644
More information about the stable
mailing list