patch 'net/iavf: fix struct size in IPsec status get' has been queued to stable release 23.11.7
Shani Peretz
shperetz at nvidia.com
Wed Apr 15 11:59:10 CEST 2026
Hi,
FYI, your patch has been queued to stable release 23.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 04/19/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/shanipr/dpdk-stable
This queued commit can be viewed at:
https://github.com/shanipr/dpdk-stable/commit/ff33ce26ac80ad95bd2e9fb3e34c0ae9ccf08b6e
Thanks.
Shani
---
>From ff33ce26ac80ad95bd2e9fb3e34c0ae9ccf08b6e 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/iavf/iavf_ipsec_crypto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c
index d6c0180ffd..3dee614741 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -1600,7 +1600,7 @@ 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);
if (response == NULL) {
--
2.43.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-04-14 14:44:29.763857418 +0300
+++ 0009-net-iavf-fix-struct-size-in-IPsec-status-get.patch 2026-04-14 14:44:28.402609000 +0300
@@ -1 +1 @@
-From 47438158efc2bd0fcd81de6c3ea1d335640f630e Mon Sep 17 00:00:00 2001
+From ff33ce26ac80ad95bd2e9fb3e34c0ae9ccf08b6e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 47438158efc2bd0fcd81de6c3ea1d335640f630e ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
- drivers/net/intel/iavf/iavf_ipsec_crypto.c | 2 +-
+ drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
@@ -21,4 +22,4 @@
-diff --git a/drivers/net/intel/iavf/iavf_ipsec_crypto.c b/drivers/net/intel/iavf/iavf_ipsec_crypto.c
-index 6d41b1744e..ab41b1973e 100644
---- a/drivers/net/intel/iavf/iavf_ipsec_crypto.c
-+++ b/drivers/net/intel/iavf/iavf_ipsec_crypto.c
+diff --git a/drivers/net/iavf/iavf_ipsec_crypto.c b/drivers/net/iavf/iavf_ipsec_crypto.c
+index d6c0180ffd..3dee614741 100644
+--- a/drivers/net/iavf/iavf_ipsec_crypto.c
++++ b/drivers/net/iavf/iavf_ipsec_crypto.c
More information about the stable
mailing list