summaryrefslogtreecommitdiff
path: root/arch/ia64
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-12-30 20:24:17 +0800
committerSasha Levin <sasha.levin@oracle.com>2016-02-03 16:23:18 -0500
commitfa988b35c2e40f38e57388a1a3f48de056e81dd3 (patch)
treeb0057b41a3a2d4513e0dc07b44543689370af77f /arch/ia64
parent0571ba52a19e18a1c20469454231eef681cb1310 (diff)
downloadlinux-exynos-fa988b35c2e40f38e57388a1a3f48de056e81dd3.tar.gz
linux-exynos-fa988b35c2e40f38e57388a1a3f48de056e81dd3.tar.bz2
linux-exynos-fa988b35c2e40f38e57388a1a3f48de056e81dd3.zip
crypto: af_alg - Fix socket double-free when accept fails
[ Upstream commit a383292c86663bbc31ac62cc0c04fc77504636a6 ] 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> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions