diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c index 2ad15b1d7ffd..4fb58fc5ec95 100644 --- a/drivers/net/macsec.c +++ b/drivers/net/macsec.c @@ -1347,8 +1347,7 @@ static struct crypto_aead *macsec_alloc_tfm(char *key, int key_len, int icv_len) 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;