Files
linux/net/ipv4
Dmitry Safonov 6b2d11e2d8 net/tcp: Add missing lockdep annotations for TCP-AO hlist traversals
Under CONFIG_PROVE_RCU_LIST + CONFIG_RCU_EXPERT
hlist_for_each_entry_rcu() provides very helpful splats, which help
to find possible issues. I missed CONFIG_RCU_EXPERT=y in my testing
config the same as described in
a3e4bf7f96 ("configs/debug: make sure PROVE_RCU_LIST=y takes effect").

The fix itself is trivial: add the very same lockdep annotations
as were used to dereference ao_info from the socket.

Reported-by: Jakub Kicinski <kuba@kernel.org>
Closes: https://lore.kernel.org/netdev/20241028152645.35a8be66@kernel.org/
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Link: https://patch.msgid.link/20241030-tcp-ao-hlist-lockdep-annotate-v1-1-bf641a64d7c6@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-11-03 12:10:11 -08:00
..
2024-05-01 18:37:07 -07:00
2024-09-11 20:44:31 -07:00
2024-09-09 17:21:47 -07:00
2024-07-30 18:35:12 -07:00
2024-01-04 10:23:10 -08:00
2024-10-15 18:52:26 -07:00
2021-05-17 15:29:35 -07:00
2024-10-29 10:54:05 -07:00
2024-06-06 11:52:52 +02:00
2024-09-11 20:44:32 -07:00
2022-12-20 03:13:45 +01:00
2023-09-14 16:16:36 +02:00