developer | 5d148cb | 2023-06-02 13:08:11 +0800 | [diff] [blame^] | 1 | From 8b45e5c6b6b419305ef893e1dfdd4c69c020958b Mon Sep 17 00:00:00 2001 |
| 2 | From: Sam Shih <sam.shih@mediatek.com> |
| 3 | Date: Fri, 2 Jun 2023 13:05:59 +0800 |
| 4 | Subject: [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 | |
| 11 | diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c |
| 12 | index 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 | -- |
| 26 | 2.34.1 |
| 27 | |