[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP payload is doubled
From: |
David Empson |
Subject: |
Re: [lwip-users] TCP payload is doubled |
Date: |
Wed, 14 Oct 2009 10:52:30 +1300 |
That description sounds suspiciously like a known bug in 1.3.1, where TCP
segments are incorrectly attached to the unsent queue.
https://savannah.nongnu.org/bugs/?27504
There is a patch attached to the bug report, and Simon checked it into LWIP
a couple of days ago. If you can get CVS-head or apply that patch to your
existing code it will hopefully fix the problem.
----- Original Message -----
From: "David Shmelzer" <address@hidden>
To: "Mailing list for lwIP users" <address@hidden>
Sent: Wednesday, October 14, 2009 9:41 AM
Subject: [lwip-users] TCP payload is doubled
Occasionally, the payload in my TCP return packet sent from lwip is more
bytes than I'm expecting.
It looks like it may be concatenating two copies of the payload.
When it happens, it enters this section of tcp_enqueue():
/* If there is room in the last pbuf on the unsent queue,
chain the first pbuf on the queue together with that. */
if (useg != NULL &&
I'm using 1.3.1 with latest tcp_out.c and tcp.h.
I did not have this problem with 1.3.0.
I'm still debugging, but wanted to get this out there in case it's a
problem with the new changes to tcp_out.c.
- [lwip-users] sys_arch_mbox_fetch() peek, David Shmelzer, 2009/10/05
- Re: [lwip-users] sys_arch_mbox_fetch() peek, Simon Goldschmidt, 2009/10/06
- [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/06
- Re: [lwip-users] conn->err = ERR_CLSD in api_lib.c, Kieran Mansley, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/07
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, Kieran Mansley, 2009/10/08
- RE: [lwip-users] conn->err = ERR_CLSD in api_lib.c, David Shmelzer, 2009/10/13
- [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/13
- Re: [lwip-users] TCP payload is doubled,
David Empson <=
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/14
- RE: [lwip-users] TCP payload is doubled, Bill Auerbach, 2009/10/14
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/15
- SV: [lwip-users] TCP payload is doubled, Jan Wester, 2009/10/16
- RE: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/16
- RE: [lwip-users] TCP payload is doubled, Kieran Mansley, 2009/10/21
- RE: [lwip-users] TCP payload is doubled, Kieran Mansley, 2009/10/21
- Re: SV: [lwip-users] TCP payload is doubled, Kieran Mansley, 2009/10/21
- RE: SV: [lwip-users] TCP payload is doubled, David Shmelzer, 2009/10/21
- Re: SV: [lwip-users] TCP payload is doubled, address@hidden, 2009/10/21