summaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-12-30 20:24:17 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-01-18 18:16:10 +0800
commita383292c86663bbc31ac62cc0c04fc77504636a6 (patch)
treedbc55e2abd13c348dfe6aac886102b5bb3293bed /lib/cpu-notifier-error-inject.c
parentc840ac6af3f8713a71b4d2363419145760bd6044 (diff)
downloadop-kernel-dev-a383292c86663bbc31ac62cc0c04fc77504636a6.zip
op-kernel-dev-a383292c86663bbc31ac62cc0c04fc77504636a6.tar.gz
crypto: af_alg - Fix socket double-free when accept fails
When we fail an accept(2) call we will end up freeing the socket twice, once due to the direct sk_free call and once again through newsock. This patch fixes this by removing the sk_free call. Cc: stable@vger.kernel.org Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud