blob: d52db50618e99a70cb605ff91f8bc90948aedbe1 [file] [log] [blame]
developerfd40db22021-04-29 10:08:25 +08001--- a/drivers/net/macsec.c
2+++ b/drivers/net/macsec.c
3@@ -1309,8 +1309,7 @@
4 struct crypto_aead *tfm;
5 int ret;
6
7- /* Pick a sync gcm(aes) cipher to ensure order is preserved. */
8- tfm = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC);
9+ tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
10
11 if (IS_ERR(tfm))
12 return tfm;