Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6052f7fb authored by Sabrina Dubroca's avatar Sabrina Dubroca Committed by David S. Miller
Browse files

macsec: fix SA initialization



The ASYNC flag prevents initialization on some physical machines.

Fixes: c09440f7 ("macsec: introduce IEEE 802.1AE driver")
Signed-off-by: default avatarSabrina Dubroca <sd@queasysnail.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5d9649b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1262,7 +1262,7 @@ static struct crypto_aead *macsec_alloc_tfm(char *key, int key_len, int icv_len)
	struct crypto_aead *tfm;
	struct crypto_aead *tfm;
	int ret;
	int ret;


	tfm = crypto_alloc_aead("gcm(aes)", 0, CRYPTO_ALG_ASYNC);
	tfm = crypto_alloc_aead("gcm(aes)", 0, 0);
	if (!tfm || IS_ERR(tfm))
	if (!tfm || IS_ERR(tfm))
		return NULL;
		return NULL;