Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue: 1182981 Fix TCP zero-window probe message sequence number
tcp: advance next seq nr for zero window probes It is possible that the byte sent as a zero window probe is accepted and acknowledged by the receiver side without the window being opened. In that case, the stream has effectively advanced by one byte, and since lwIP did not take this into account on the sender side, the result was a desynchronization between the sender and the receiver. That situation could occur even on a lwIP loopback device, after filling up the receiver side's receive buffer, and resulted in an ACK storm. This patch corrects the problem by advancing the sender's next sequence number by one as needed when sending a zero window probe. This was cherry-picked from lwip 9ba9dee. Signed-off-by: Daniel Libenson <[email protected]>
- Loading branch information