aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Jordan <daniel.m.jordan@oracle.com>2020-06-08 17:26:52 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2020-06-18 17:09:54 +1000
commite04ec0de61c1eb9693179093e83ab8ca68a30d08 (patch)
treec9659db2092a276ee7a64922be0c57e0526f4c07 /scripts
parentcrypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock() (diff)
downloadwireguard-linux-e04ec0de61c1eb9693179093e83ab8ca68a30d08.tar.xz
wireguard-linux-e04ec0de61c1eb9693179093e83ab8ca68a30d08.zip
padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial
A 5.7 kernel hangs during a tcrypt test of padata that waits for an AEAD request to finish. This is only seen on large machines running many concurrent requests. The issue is that padata never serializes the request. The removal of the reorder_objects atomic missed that the memory barrier in padata_do_serial() depends on it. Upgrade the barrier from smp_mb__after_atomic to smp_mb to get correct ordering again. Fixes: 3facced7aeed1 ("padata: remove reorder_objects") Signed-off-by: Daniel Jordan <daniel.m.jordan@oracle.com> Cc: Steffen Klassert <steffen.klassert@secunet.com> Cc: linux-kernel@vger.kernel.org Cc: <stable@vger.kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions