patch 'crypto/ipsec_mb: fix segmented out-of-place null cipher' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Nov 16 23:52:08 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 11/18/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/06418bdcbd0d05be42149ee565846b0e11e0ddb2
Thanks.
Luca Boccassi
---
>From 06418bdcbd0d05be42149ee565846b0e11e0ddb2 Mon Sep 17 00:00:00 2001
From: Radu Nicolau <radu.nicolau at intel.com>
Date: Tue, 6 Oct 2026 10:53:28 +0000
Subject: [PATCH] crypto/ipsec_mb: fix segmented out-of-place null cipher
[ upstream commit fca855a00b97e187b693cf6cb75b0047b233a1b5 ]
The NULL cipher OOP SGL case should be handled
by the linear buffer SGL path.
Fixes: 03944ff5e3df ("crypto/ipsec_mb: support null auth/cipher for aesni_mb")
Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
Acked-by: Kai Ji <kai.ji at intel.com>
---
drivers/crypto/ipsec_mb/pmd_aesni_mb.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
index 05dc1a039f..eff34ae07b 100644
--- a/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
+++ b/drivers/crypto/ipsec_mb/pmd_aesni_mb.c
@@ -1738,7 +1738,8 @@ set_mb_job_params(IMB_JOB *job, struct ipsec_mb_qp *qp,
job->msg_len_to_cipher_in_bytes = op->sym->cipher.data.length;
}
- if (cipher_mode == IMB_CIPHER_NULL && oop) {
+ /* NULL cipher OOP SGL case handled by the linear buffer SGL code */
+ if (cipher_mode == IMB_CIPHER_NULL && oop && !sgl) {
memcpy(job->dst + job->cipher_start_src_offset_in_bytes,
job->src + job->cipher_start_src_offset_in_bytes,
job->msg_len_to_cipher_in_bytes);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-16 22:52:18.627767471 +0000
+++ 0054-crypto-ipsec_mb-fix-segmented-out-of-place-null-ciph.patch 2026-11-16 22:52:16.492233590 +0000
@@ -1 +1 @@
-From fca855a00b97e187b693cf6cb75b0047b233a1b5 Mon Sep 17 00:00:00 2001
+From 06418bdcbd0d05be42149ee565846b0e11e0ddb2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit fca855a00b97e187b693cf6cb75b0047b233a1b5 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index d39539d7aa..9f930200f0 100644
+index 05dc1a039f..eff34ae07b 100644
@@ -22 +23 @@
-@@ -1824,7 +1824,8 @@ set_mb_job_params(IMB_JOB *job, struct ipsec_mb_qp *qp,
+@@ -1738,7 +1738,8 @@ set_mb_job_params(IMB_JOB *job, struct ipsec_mb_qp *qp,
More information about the stable
mailing list