[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Window memory leak from retransmitted packets

From: David Ward
Subject: RE: [lwip-users] Window memory leak from retransmitted packets
Date: Mon, 22 Jun 2009 14:41:31 +0100

With  TCP_QUEUE_OOSEQ = 0  the link is established but my tacp_Recvd()
callback never fires.

I have checked the xilinx documentation for lwip 2.00.a (dated Jan 2007)
and it appears that Xilinx are using lwip stack version 0.7.2 !

Thanks for your help


-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Kieran Mansley
Sent: 22 June 2009 13:04
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Window memory leak from retransmitted packets

On Mon, 2009-06-22 at 12:32 +0100, David Ward wrote:
> Hi
> I wonder if anyone can help with a lwip problem on a Xilinx ML506 
> Virtex 5 evaluation board with a microblaze processor and Xilinx Lwip 
> 2.0

Any idea what version of lwIP that corresponds to?  We're still on 1.3.0
as the most recent release.

> We are using the raw packet implemetation with a single TCPIP socket 
> link between a windows PC and the development board. I have based my 
> code on the Xilinx web server examples.
> Our link connects and runs for a while, then fails.
> Investigating with wireshark shows that on occasion lwip fails to ack 
> a packet or two causing the PC to perform a fast re-transmission, lwip

> transmits an ack and the link re covers, except that our window size 
> has reduced by the size of the re-transmitted packet. It is this 
> 'window buffer leak' that causes the link to fail eventually.
> Is there anything I am missing, or that I need to do to clear out 
> duplicate packets?

You could try disabling TCP_QUEUE_OOSEQ and see if your problem goes
away.  If it does, that suggests packets aren't being from from the out-
of-order segment list.


lwip-users mailing list

This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorized and may be illegal.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]