Revert: "crypto: af_alg - Disallow bind/setkey/... after accept(2)"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Mar 2016 05:30:16 +0000 (21:30 -0800)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:12:28 +0000 (13:12 +0000)
commit32c66aa11b8ed0e7702e2f165b86c05bf26dc16b
treeeb05e8da2a6085c4fe01aea4075467d34f5b3813
parent3d5e41f37888e705a1c051d2a8587fd96c720e6a
Revert: "crypto: af_alg - Disallow bind/setkey/... after accept(2)"

This reverts commit 5a707f0972e1c9d8a4a921ddae79d0f9dc36a341 which is
commit c840ac6af3f8713a71b4d2363419145760bd6044 upstream.

It's been widely reported that this patch breaks existing userspace
applications when backported to the stable kernel releases.  As no fix
seems to be forthcoming, just revert it to let systems work again.

Reported-by: "J. Paul Reed" <preed@sigkill.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/af_alg.c
include/crypto/if_alg.h