inet: more data-race fixes
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 · linked by author and title
- v2 Latest8 patches 3 repliesApplied 8/8
- v18 patches 9 repliesSuperseded
Patches in v2 All 8 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | inet: implement lockless IP_MULTICAST_TTLnet/ net/ net/ | +18 | 0 replies | Applied |
| 2/8 | inet: implement lockless IP_MTU_DISCOVERinclude/ net/ net/ +4 more | +22 | 0 replies | Applied |
| 3/8 | inet: implement lockless IP_TOSinclude/ include/ net/ +7 more | +31 | 3 replies | Applied |
| 4/8 | inet: lockless getsockopt(IP_OPTIONS)net/ | +10 | 0 replies | Applied |
| 5/8 | inet: lockless getsockopt(IP_MTU)net/ | +9 | 0 replies | Applied |
| 6/8 | inet: implement lockless getsockopt(IP_UNICAST_IF)net/ net/ net/ +2 more | +21 | 0 replies | Applied |
| 7/8 | inet: lockless IP_PKTOPTIONS implementationnet/ | +37 | 0 replies | Applied |
| 8/8 | inet: implement lockless getsockopt(IP_MULTICAST_IF)net/ net/ net/ +2 more | +20 | 0 replies | 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 v2 net-next 0/8] inet: more data-race fixes
This series fixes some existing data-races on inet fields:
inet->mc_ttl, inet->pmtudisc, inet->tos, inet->uc_index, inet->mc_index and inet->mc_addr.
While fixing them, we convert eight socket options to lockless implementation.
v2: addressed David Ahern feedback on ("inet: implement lockless IP_TOS")
Added David Reviewed-by: tag on other patches.
Eric Dumazet (8):
inet: implement lockless IP_MULTICAST_TTL
inet: implement lockless IP_MTU_DISCOVER
inet: implement lockless IP_TOS
inet: lockless getsockopt(IP_OPTIONS)
inet: lockless getsockopt(IP_MTU)
inet: implement lockless getsockopt(IP_UNICAST_IF)
inet: lockless IP_PKTOPTIONS implementation
inet: implement lockless getsockopt(IP_MULTICAST_IF)
include/net/ip.h | 16 +- include/net/route.h | 4 +- net/dccp/ipv4.c | 2 +- net/ipv4/datagram.c | 6 +- net/ipv4/inet_diag.c | 2 +- net/ipv4/ip_output.c | 13 +- net/ipv4/ip_sockglue.c | 192 ++++++++---------- net/ipv4/ping.c | 8 +- net/ipv4/raw.c | 19 +- net/ipv4/tcp_ipv4.c | 9 +- net/ipv4/udp.c | 18 +- net/mptcp/sockopt.c | 8 +- net/netfilter/ipvs/ip_vs_sync.c | 4 +- net/sctp/protocol.c | 4 +- .../selftests/net/mptcp/mptcp_connect.sh | 2 +- 15 files changed, 150 insertions(+), 157 deletions(-)
Signature · 1 line
2.42.0.515.g380fc7ccd1-goog