patch 'net/iavf: fix memory leak on IPsec SP delete' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:49:43 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/9060be0a5cba57dc4c3c508efda2a3bd5ea400e7
Thanks.
Luca Boccassi
---
>From 9060be0a5cba57dc4c3c508efda2a3bd5ea400e7 Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Mon, 14 Sep 2026 11:49:01 +0100
Subject: [PATCH] net/iavf: fix memory leak on IPsec SP delete
[ upstream commit ae8dc9f053dc70842a30dc84dcfaf0f75ec66ed8 ]
When deleting IPsec SP, we return status response without freeing the
request/response buffers. Do not return and proceed to freeing instead.
Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
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 bf9e5de1df3..42814604951 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -941,7 +941,7 @@ iavf_ipsec_crypto_security_policy_delete(struct iavf_adapter *adapter,
response->req_id != request->req_id)
rc = -EFAULT;
else
- return response->ipsec_data.ipsec_status->status;
+ rc = response->ipsec_data.ipsec_status->status;
update_cleanup:
rte_free(request);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:57.150969197 +0000
+++ 0089-net-iavf-fix-memory-leak-on-IPsec-SP-delete.patch 2026-10-27 11:43:53.610062420 +0000
@@ -1 +1 @@
-From ae8dc9f053dc70842a30dc84dcfaf0f75ec66ed8 Mon Sep 17 00:00:00 2001
+From 9060be0a5cba57dc4c3c508efda2a3bd5ea400e7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ae8dc9f053dc70842a30dc84dcfaf0f75ec66ed8 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -15 +16 @@
- drivers/net/intel/iavf/iavf_ipsec_crypto.c | 2 +-
+ drivers/net/iavf/iavf_ipsec_crypto.c | 2 +-
@@ -18,4 +19,4 @@
-diff --git a/drivers/net/intel/iavf/iavf_ipsec_crypto.c b/drivers/net/intel/iavf/iavf_ipsec_crypto.c
-index 9c8f694de5..06b51b5e62 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 bf9e5de1df3..42814604951 100644
+--- a/drivers/net/iavf/iavf_ipsec_crypto.c
++++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -30 +31 @@
- free(request);
+ rte_free(request);
More information about the stable
mailing list