[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: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #20515] TCP delayed ack does not work as expected |
Date: |
Sun, 29 Mar 2009 15:56:14 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8 |
Follow-up Comment #19, bug #20515 (project lwip):
Nice work! Let me summarize what I understood from reading the code, only to
make sure I understood it correctly:
- until now, tcp_ack was responsible for window-update-acks
- until now, we called tcp_ack from tcp_received and tcp_receive
- now, tcp_received calculates the window-update-ack on its own
- tcp_receive still uses the 'old' tcp_ack -> called for every packet
received
If I remember the RFC correctly, the goal should be to send ACKs/window
updates for every 2nd packet at least (no matter how big it is) and again if
the window increase is notably high.
I *guess* this is achieved with your patch (although I would rather test it
before releasing lwIP with this).
Only one comment on the code: To let future developers know what's going on,
I'd rename the function tcp_set_header to tcp_output_set_header: We already
had the idea to set the header when enqueueing (not sending) a segment to
update chksum on-the-fly and we should prevent tcp_set_header being used in
this case (as the value of rcv_ann_right_edge would then be wrong).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20515>
_______________________________________________
Nachricht geschickt von/durch 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 <=
- [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, 2009/03/30
- [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