]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ip_tunnel: annotate data-races around t->parms.link
authorEric Dumazet <edumazet@google.com>
Tue, 13 Feb 2024 06:32:34 +0000 (06:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jan 2025 12:30:00 +0000 (13:30 +0100)
commitc3c53b16928e256879bde8be268220d4ebcdd127
tree8b40fa5c5ddf3237642da0c80039a0192878f93c
parent19bbca7bc55bf28f4eb61d791f435006d1f2cc9d
ip_tunnel: annotate data-races around t->parms.link

[ Upstream commit f694eee9e1c00d6ca06c5e59c04e3b6ff7d64aa9 ]

t->parms.link is read locklessly, annotate these reads
and opposite writes accordingly.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: b5a7b661a073 ("net: Fix netns for ip_tunnel_init_flow()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv4/ip_tunnel.c