diff options
author | Eric Dumazet <edumazet@google.com> | 2025-08-28 19:58:16 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-29 19:36:31 -0700 |
commit | caedcc5b6df1b2e2b5f39079e3369c1d4d5c5f50 (patch) | |
tree | ec6964250ecf0067f7a21b9dab5408c18ff15e5e /net/ipv6/udp.c | |
parent | e71aa5a955a7059a705972e9bcdb074b6fd14696 (diff) |
net: dst: introduce dst->dev_rcu
Followup of commit 88fe14253e18 ("net: dst: add four helpers
to annotate data-races around dst->dev").
We want to gradually add explicit RCU protection to dst->dev,
including lockdep support.
Add an union to alias dst->dev_rcu and dst->dev.
Add dst_dev_net_rcu() helper.
Fixes: 4a6ce2b6f2ec ("net: introduce a new function dst_dev_put()")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://patch.msgid.link/20250828195823.3958522-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6/udp.c')
0 files changed, 0 insertions, 0 deletions