[tcp] Avoid rewinding sequence numbers on receiving old duplicate ACKs
authorMichael Brown <mcb30@etherboot.org>
Tue, 23 Jun 2009 15:10:34 +0000 (16:10 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 23 Jun 2009 15:10:34 +0000 (16:10 +0100)
commit58f60df66c074eec1756173ba0354c1b6a95f0e6
treee1c753f1fd58606bf5e8064830bfdc3482543be2
parent99e64f5806524a60386ccbb928227af7511c3b16
[tcp] Avoid rewinding sequence numbers on receiving old duplicate ACKs

Commit 558c1a4 ("[tcp] Improve robustness in the presence of duplicated
received packets") introduced a regression in that an old duplicate
ACK received while in the ESTABLISHED state would pass through normal
ACK processing, including updating tcp->snd_seq.

Fix by ensuring that ACK processing ignores all duplicate ACKs.
src/net/tcp.c