tcp: 3 fixes for retrans_stamp and undo logic
Status from this message: This series was applied to netdev/net.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | tcp: fix to allow timestamp undo if no retransmits were sentnet/ | +16 | 0 replies | Applied |
| 2/3 | tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safenet/ | +13 | 0 replies | Applied |
| 3/3 | tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits outnet/ | +9 | 0 replies | Applied |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Geumhwan Yu |
|---|---|
| 1/3 | Diagnosed-by |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net 0/3] tcp: 3 fixes for retrans_stamp and undo logic
From: Neal Cardwell <[email protected]>
Geumhwan Yu <[email protected]> recently reported and diagnosed a regression in TCP loss recovery undo logic in the case where a TCP connection enters fast recovery, is unable to retransmit anything due to TSQ, and then receives an ACK allowing forward progress. The sender should be able to undo the spurious loss recovery in this case, but was not doing so. The first patch fixes this regression.
Running our suite of packetdrill tests with the first fix, the tests highlighted two other small bugs in the way retrans_stamp is updated in some rare corner cases. The second two patches fix those other two small bugs.
Thanks to Geumhwan Yu for the bug report!
Neal Cardwell (3):
tcp: fix to allow timestamp undo if no retransmits were sent
tcp: fix tcp_enter_recovery() to zero retrans_stamp when it's safe
tcp: fix TFO SYN_RECV to not zero retrans_stamp with retransmits out
net/ipv4/tcp_input.c | 42 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 38 insertions(+), 4 deletions(-)
Signature · 1 line
2.46.1.824.gd892dcdcdd-goog