blob: 3212b6ba0f3dcb61ef53b323153c38ad2b9f8600 [file] [log] [blame]
developer5d148cb2023-06-02 13:08:11 +08001From 8b45e5c6b6b419305ef893e1dfdd4c69c020958b Mon Sep 17 00:00:00 2001
2From: Sam Shih <sam.shih@mediatek.com>
3Date: Fri, 2 Jun 2023 13:05:59 +0800
4Subject: [PATCH]
5 [backport-networking-drivers][999-1700-macsec-revert-async-support.patch]
6
7---
8 drivers/net/macsec.c | 3 +--
9 1 file changed, 1 insertion(+), 2 deletions(-)
10
11diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
12index f729f55f6..e3f03c89c 100644
13--- a/drivers/net/macsec.c
14+++ b/drivers/net/macsec.c
15@@ -1311,8 +1311,7 @@ static struct crypto_aead *macsec_alloc_tfm(char *key, int key_len, int icv_len)
16 struct crypto_aead *tfm;
17 int ret;
18
19- /* Pick a sync gcm(aes) cipher to ensure order is preserved. */
20- tfm = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC);
21+ tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
22
23 if (IS_ERR(tfm))
24 return tfm;
25--
262.34.1
27