immortalwrt-mt798x/target/linux/mediatek/patches-5.4/0504-macsec-revert-async-support.patch
2022-11-16 22:08:49 +08:00

13 lines
323 B
Diff

--- a/drivers/net/macsec.c
+++ b/drivers/net/macsec.c
@@ -1309,8 +1309,7 @@
struct crypto_aead *tfm;
int ret;
- /* Pick a sync gcm(aes) cipher to ensure order is preserved. */
- tfm = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC);
+ tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
if (IS_ERR(tfm))
return tfm;