[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #20515] TCP delayed ack does not work as expected
From: |
Oleg Tyshev |
Subject: |
[lwip-devel] [bug #20515] TCP delayed ack does not work as expected |
Date: |
Mon, 30 Mar 2009 18:08:21 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 GTB5 |
Follow-up Comment #22, bug #20515 (project lwip):
I think exists one more error in implementation window update.
To the other side would be sent always rcv_ann_wnd.
It is means, other side is not allowed to send something out of the window.
But in tcp_in.c will be always used rcv_wnd.
It is not correct.
For exampe in tcp_receive()
/* The sequence number must be within the window (above rcv_nxt
and below rcv_nxt + rcv_wnd) in order to be further
processed. */
if (TCP_SEQ_BETWEEN(seqno, pcb->rcv_nxt,
pcb->rcv_nxt + pcb->rcv_wnd - 1)){
in my case
rcv_ann_wnd == 0, rcv_wnd == 1000
I get zero window probe packet (tcplen == 1)
and then in tcp_update_rcv_ann_wnd() we go to the the second branch,
rcv_ann_wnd = 65535
(file #17836)
_______________________________________________________
Additional Item Attachment:
File name: tcp_zerowin65535.pcap Size:153 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20515>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/27
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/27
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Simon Goldschmidt, 2009/03/29
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/30
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Simon Goldschmidt, 2009/03/30
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected,
Oleg Tyshev <=
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Oleg Tyshev, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Oleg Tyshev, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Oleg Tyshev, 2009/03/31
- [lwip-devel] [bug #20515] TCP delayed ack does not work as expected, Kieran Mansley, 2009/03/31