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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Mar 2016 15:41:37 +0000 (08:41 -0700)
commit1f2493fcd87bd810c608aa7976388157852eadb2
treebd0ad5a105308446f16fbf31aa00d60b0b7b7b8d
parentd6692b5c5d7a2178bfa17b9e1dff205aaaa51342
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