tcp: take better care of tw_substate and tw_rcv_nxt
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 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tcp: remove volatile qualifier on tw_substateinclude/ net/ net/ +2 more | +8 | 1 reply | Applied |
| 2/2 | tcp: annotate data-races around tcptw->tw_rcv_nxtnet/ net/ net/ | +18 | 1 reply | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Jason Xing |
|---|---|
| 1/2 | R-b |
| 2/2 | 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/2] tcp: take better care of tw_substate and tw_rcv_nxt
While reviewing Jason Xing recent commit (0d9e5df4a257 "tcp: avoid reusing FIN_WAIT2 when trying to find port in connect() process") I saw we could remove the volatile qualifier for tw_substate field, and I also added missing data-race annotations around tcptw->tw_rcv_nxt.
Eric Dumazet (2):
tcp: remove volatile qualifier on tw_substate
tcp: annotate data-races around tcptw->tw_rcv_nxt
include/net/inet_timewait_sock.h | 2 +- net/ipv4/inet_diag.c | 4 ++-- net/ipv4/tcp_ipv4.c | 6 +++--- net/ipv4/tcp_minisocks.c | 31 +++++++++++++++++-------------- net/ipv6/tcp_ipv6.c | 5 +++-- 5 files changed, 26 insertions(+), 22 deletions(-)
Signature · 1 line
2.46.0.295.g3b9ea8a38a-goog