linux-stable/net/ipv6/ila
Eric Dumazet cf28ff8e4c ila: block BH in ila_output()
As explained in commit 1378817486 ("tipc: block BH
before using dst_cache"), net/core/dst_cache.c
helpers need to be called with BH disabled.

ila_output() is called from lwtunnel_output()
possibly from process context, and under rcu_read_lock().

We might be interrupted by a softirq, re-enter ila_output()
and corrupt dst_cache data structures.

Fix the race by using local_bh_disable().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20240531132636.2637995-5-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-06-03 18:50:09 -07:00
..
ila.h ila: remove unused inline function ila_addr_is_ila 2020-04-29 12:01:31 -07:00
ila_common.c ila: remove blank lines at EOF 2018-07-24 14:10:42 -07:00
ila_lwt.c ila: block BH in ila_output() 2024-06-03 18:50:09 -07:00
ila_main.c ila: Remove unnecessary file net/ila.h 2023-08-02 12:28:16 -07:00
ila_xlat.c ila: Remove unnecessary file net/ila.h 2023-08-02 12:28:16 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00