[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171208064549.y56sykj4jtvn4vnw@gauss3.secunet.de>
Date: Fri, 8 Dec 2017 07:45:49 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Antony Antony <antony@...nome.org>
CC: Herbert Xu <herbert@...dor.apana.org.au>, <netdev@...r.kernel.org>,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH] xfrm: fix xfrm_do_migrate() with AEAD e.g(AES-GCM)
On Thu, Dec 07, 2017 at 09:54:27PM +0100, Antony Antony wrote:
> copy geniv when cloning the xfrm state.
>
> x->geniv was not copied to the new state and migration would fail.
>
> xfrm_do_migrate
> ..
> xfrm_state_clone()
> ..
> ..
> esp_init_aead()
> crypto_alloc_aead()
> crypto_alloc_tfm()
> crypto_find_alg() return EAGAIN and failed
>
> Signed-off-by: Antony Antony <antony@...nome.org>
Patch applied, thanks Antony!
Powered by blists - more mailing lists