diff --git a/net/tcp.hh b/net/tcp.hh index 5767fe2891..92ca4b0115 100644 --- a/net/tcp.hh +++ b/net/tcp.hh @@ -320,6 +320,7 @@ void tcp::tcb::input(tcp_hdr* th, packet p) { return; // FIXME: reset too? } if (!_local_syn_acked && th->ack > _snd.initial) { + _snd.unacknowledged = _snd.next = _snd.initial + 1; _local_syn_acked = true; _snd.wl2 = th->ack; }