net: add rcu safety to dst->dev
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | net: dst: introduce dst->dev_rcuinclude/ net/ net/ | +14 | 1 reply | Applied |
| 2/8 | ipv6: start using dst_dev_rcu()net/ net/ net/ +3 more | +14 | 1 reply | Applied |
| 3/8 | ipv6: use RCU in ip6_xmit()net/ | +21 | 1 reply | Applied |
| 4/8 | ipv6: use RCU in ip6_output()net/ | +15 | 1 reply | Applied |
| 5/8 | net: use dst_dev_rcu() in sk_setup_caps()include/ include/ include/ +1 more | +16 | 1 reply | Applied |
| 6/8 | tcp_metrics: use dst_dev_net_rcu()net/ | +3 | 1 reply | Applied |
| 7/8 | tcp: use dst_dev_rcu() in tcp_fastopen_active_disable_ofo_check()net/ | +4 | 1 reply | Applied |
| 8/8 | ipv4: start using dst_dev_rcu()net/ net/ net/ +1 more | +12 | 1 reply | Applied |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/8] net: add rcu safety to dst->dev
Followup of commit 88fe14253e18 ("net: dst: add four helpers to annotate data-races around dst->dev").
Use lockdep enabled helpers to convert our unsafe dst->dev uses one at a time.
More to come...
Eric Dumazet (8):
net: dst: introduce dst->dev_rcu
ipv6: start using dst_dev_rcu()
ipv6: use RCU in ip6_xmit()
ipv6: use RCU in ip6_output()
net: use dst_dev_rcu() in sk_setup_caps()
tcp_metrics: use dst_dev_net_rcu()
tcp: use dst_dev_rcu() in tcp_fastopen_active_disable_ofo_check()
ipv4: start using dst_dev_rcu()
include/net/dst.h | 16 +++++++---- include/net/ip.h | 6 ++-- include/net/ip6_route.h | 2 +- include/net/route.h | 2 +- net/core/dst.c | 2 +- net/core/sock.c | 16 +++++++---- net/ipv4/icmp.c | 6 ++-- net/ipv4/ip_fragment.c | 6 ++-- net/ipv4/ipmr.c | 6 ++-- net/ipv4/route.c | 8 +++--- net/ipv4/tcp_fastopen.c | 7 +++-- net/ipv4/tcp_metrics.c | 6 ++-- net/ipv6/anycast.c | 2 +- net/ipv6/icmp.c | 6 ++-- net/ipv6/ip6_output.c | 64 +++++++++++++++++++++++------------------ net/ipv6/mcast.c | 2 +- net/ipv6/ndisc.c | 2 +- net/ipv6/output_core.c | 8 ++++-- net/ipv6/route.c | 7 ++--- 19 files changed, 99 insertions(+), 75 deletions(-)
Signature · 1 line
2.51.0.318.gd7df087d1a-goog