projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d9649b
)
macsec: fix SA initialization
author
Sabrina Dubroca
<sd@queasysnail.net>
Tue, 14 Jun 2016 13:25:16 +0000
(15:25 +0200)
committer
David S. Miller
<davem@davemloft.net>
Wed, 15 Jun 2016 21:47:46 +0000
(14:47 -0700)
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>
drivers/net/macsec.c
patch
|
blob
|
history
diff --git
a/drivers/net/macsec.c
b/drivers/net/macsec.c
index 189ea3e8e8a040e8f28583b3db005677c1c573f6..0e7eff7f1cd27b630c07a02f75c08a02f45ec6dd 100644
(file)
--- 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;