mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
13 lines
323 B
Diff
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;
|