developer | fd40db2 | 2021-04-29 10:08:25 +0800 | [diff] [blame] | 1 | --- 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; |