summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSabrina Dubroca <sd@queasysnail.net>2016-06-14 13:25:16 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-06-15 21:47:46 (GMT)
commit6052f7fbce857e327218a9d8a040e210ea7cc718 (patch)
treeef61e717c1ae4817b3b3f053524d5a5ca725b9a5 /drivers
parent5d9649b3a524df9ccd15ac25ad6591089260fdbd (diff)
downloadlinux-6052f7fbce857e327218a9d8a040e210ea7cc718.tar.xz
macsec: fix SA initialization
The ASYNC flag prevents initialization on some physical machines. Fixes: c09440f7dcb3 ("macsec: introduce IEEE 802.1AE driver") Signed-off-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/macsec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
index 189ea3e..0e7eff7 100644
--- a/drivers/net/macsec.c
+++ b/drivers/net/macsec.c
@@ -1262,7 +1262,7 @@ static struct crypto_aead *macsec_alloc_tfm(char *key, int key_len, int icv_len)
struct crypto_aead *tfm;
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))
return NULL;