patch 'net/iavf: fix AES-GMAC IV size' has been queued to stable release 21.11.1
Kevin Traynor
ktraynor at redhat.com
Tue Mar 8 15:14:43 CET 2022
Hi,
FYI, your patch has been queued to stable release 21.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/14/22. 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/0a15c3ff0082c03b1d0143fa9c5d592b63c03507
Thanks.
Kevin
---
>From 0a15c3ff0082c03b1d0143fa9c5d592b63c03507 Mon Sep 17 00:00:00 2001
From: Radu Nicolau <radu.nicolau at intel.com>
Date: Tue, 1 Mar 2022 13:41:31 +0000
Subject: [PATCH] net/iavf: fix AES-GMAC IV size
[ upstream commit e816a255f7795710e7d9a12029b766c7e72aedf2 ]
Fix AES-GMAC size, set it to the required value, unlike lookaside
where it also includes salt length.
Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang 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 d6875eb6aa..b1949cee91 100644
--- a/drivers/net/iavf/iavf_ipsec_crypto.c
+++ b/drivers/net/iavf/iavf_ipsec_crypto.c
@@ -615,5 +615,5 @@ set_session_parameter(struct iavf_security_ctx *iavf_sctx,
sess->block_sz = get_auth_blocksize(iavf_sctx,
conf->crypto_xform->auth.algo);
- sess->iv_sz = conf->crypto_xform->auth.iv.length;
+ sess->iv_sz = sizeof(uint64_t); /* iv len inc. salt */
sess->icv_sz = conf->crypto_xform->auth.digest_length;
} else {
--
2.34.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2022-03-08 13:55:29.129865090 +0000
+++ 0028-net-iavf-fix-AES-GMAC-IV-size.patch 2022-03-08 13:55:28.497315166 +0000
@@ -1 +1 @@
-From e816a255f7795710e7d9a12029b766c7e72aedf2 Mon Sep 17 00:00:00 2001
+From 0a15c3ff0082c03b1d0143fa9c5d592b63c03507 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit e816a255f7795710e7d9a12029b766c7e72aedf2 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list