mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-07 16:56:45 +08:00
test_tcp_fast_rexmit_wraparound correctness relied on the congestion window being in congestion avoidance so that only a single TCP_MSS segment is sent upon ACKing the first segment. It's not known whether the test was relying tcp_alloc() to set ssthresh to 0 and thus start in congestion avoidance or if the test was working by accident until changes inb90a54f989This fixes the test by enforcing the requirement of starting in congestion avoidance Signed-off-by: goldsimon <goldsimon@gmx.de> (cherry picked from commit8bf402fd67)