All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sabrina Dubroca <sd@queasysnail.net>
To: netdev@vger.kernel.org
Cc: Hannes Frederic Sowa <hannes@stressinduktion.org>,
	Sabrina Dubroca <sd@queasysnail.net>
Subject: [PATCH net 3/3] macsec: fix SA initialization
Date: Tue, 14 Jun 2016 15:25:16 +0200	[thread overview]
Message-ID: <e90e4c9e1a71e7168ed9e9ff041d0340b920ca91.1465908271.git.sd@queasysnail.net> (raw)
In-Reply-To: <cover.1465908271.git.sd@queasysnail.net>
In-Reply-To: <cover.1465908271.git.sd@queasysnail.net>

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>
---
 drivers/net/macsec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/macsec.c b/drivers/net/macsec.c
index 189ea3e8e8a0..0e7eff7f1cd2 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;
 
-- 
2.8.3

  parent reply	other threads:[~2016-06-14 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 13:25 [PATCH net 0/3] macsec fixes Sabrina Dubroca
2016-06-14 13:25 ` [PATCH net 1/3] macsec: add rcu_barrier() on module exit Sabrina Dubroca
2016-06-14 14:18   ` Hannes Frederic Sowa
2016-06-14 13:25 ` [PATCH net 2/3] macsec: allocate sg and iv on the heap Sabrina Dubroca
2016-06-14 14:19   ` Hannes Frederic Sowa
2016-06-14 13:25 ` Sabrina Dubroca [this message]
2016-06-15 21:47 ` [PATCH net 0/3] macsec fixes David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e90e4c9e1a71e7168ed9e9ff041d0340b920ca91.1465908271.git.sd@queasysnail.net \
    --to=sd@queasysnail.net \
    --cc=hannes@stressinduktion.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.