On 02/26/2016 06:44 AM, Milan Broz wrote:
From: Herbert Xu <herbert@gondor.apana.org.au>
commit dd504589577d8e8e70f51f997ad487a4cb6c026f upstream.
Some cipher implementations will crash if you try to use them
without calling setkey first. This patch adds a check so that
the accept(2) call will fail with -ENOKEY if setkey hasn't been
done on the socket yet.
Cc: stable@vger.kernel.org
Reported-by: Dmitry Vyukov [off-list ref]
Signed-off-by: Herbert Xu [off-list ref]
Tested-by: Dmitry Vyukov [off-list ref]
[backported to 4.1 by Milan Broz [off-list ref]]
Thanks Milan. Can I add your Signed-off-by to this series?
Thanks,
Sasha