Merge branch 'dst_cache-fix-possible-races'
authorJakub Kicinski <kuba@kernel.org>
Tue, 4 Jun 2024 01:50:13 +0000 (18:50 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Jun 2024 01:50:14 +0000 (18:50 -0700)
commitd730a42ca6205713d8d88b14d728283c910d2baa
treeb2d9e8cd7aebc053ef57a3b280f30b0c32b6ac36
parentffbe335b8d471f79b259e950cb20999700670456
parent2fe6fb36c781b50482b1c3323fb526bc07d1af59
Merge branch 'dst_cache-fix-possible-races'

Eric Dumazet says:

====================
dst_cache: fix possible races

This series is inspired by various undisclosed syzbot
reports hinting at corruptions in dst_cache structures.

It seems at least four users of dst_cache are racy against
BH reentrancy.

Last patch is adding a DEBUG_NET check to catch future misuses.
====================

Link: https://lore.kernel.org/r/20240531132636.2637995-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>