diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-13 08:03:32 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-01-18 11:16:33 +0100 |
commit | a6a48c565f6f112c6983e2a02b1602189ed6e26e (patch) | |
tree | 50c78dffdeaba445cf12b3c3027f4f8e3a3ad759 /crypto/ansi_cprng.c | |
parent | crypto: algif_skcipher - Remove custom release parent function (diff) | |
download | linux-a6a48c565f6f112c6983e2a02b1602189ed6e26e.tar.xz linux-a6a48c565f6f112c6983e2a02b1602189ed6e26e.zip |
crypto: af_alg - Forbid bind(2) when nokey child sockets are present
This patch forbids the calling of bind(2) when there are child
sockets created by accept(2) in existence, even if they are created
on the nokey path.
This is needed as those child sockets have references to the tfm
object which bind(2) will destroy.
Cc: stable@vger.kernel.org
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions