[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27209] tcp_input discards frames even though they are
From: |
Kieran Mansley |
Subject: |
[lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window |
Date: |
Mon, 10 Aug 2009 11:32:32 +0000 |
User-agent: |
Opera/9.64 (X11; Linux i686; U; en) Presto/2.1.1 |
Follow-up Comment #9, bug #27209 (project lwip):
Ultimately there are two possible solutions to this:
1) Continue to allow packets that are a little longer than the current window
to be received. This is a good principle, as we've got the space to buffer it
(it's already buffered) and throwing it away would just waste the work done
already. To support this fully we'd have to convert rcv_wnd to signed
arithmetic, which would probably mean increasing it from a u16 to a s32, and
so use a little more space.
2) Trim any received packet that has some part out of the window so that we
ignore the "bad" bit. This would ensure that tcp_wnd would never go out of
the range 0 -> TCP_WND, and so the rest of the code could be left as it is.
I'd welcome other peoples preferences.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27209>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/09
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Simon Goldschmidt, 2009/08/09
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/09
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/09
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Simon Goldschmidt, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window,
Kieran Mansley <=
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Simon Goldschmidt, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/10
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/11
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/11
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/11
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Åke Rehnman, 2009/08/11
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/11
- [lwip-devel] [bug #27209] tcp_input discards frames even though they are within the announced window, Kieran Mansley, 2009/08/11