lwip-users
[Top][All Lists]
Advanced

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

RE : [lwip-users] Receiving RSTs


From: Frédéric BERNON
Subject: RE : [lwip-users] Receiving RSTs
Date: Tue, 11 Dec 2007 16:33:46 +0100

>Receiving an RST triggers the err_tcp() error function which posts a NULL message. It appears that the mbox is getting populated with NULL messages, but these messages are not being read out at all, and so the mbox is getting full.
 
I'm not sure it's the case in last CVS HEAD: when err_tcp is called and when we are in "connect" step, a NULL message is post in conn->mbox, and since the calling thread is waiting this event, the netconn_connect return, and the calling thread have to close the socket. During the close, any message in conn->mbox is "drained".
 
I can't find the assertion  “sys_mbox_post: mbox not full" (which should be more "mbox is full"). Is it in your port, or on the older lwIP source code ?
 
In all cases, I'm not sure that file a bug on a very old release (0.6 if Tokmen is right) is a good thing: I don't think that any active developper will process it (remember there is lot of releases between yours and the last one).
 
 
====================================
Frédéric BERNON
HYMATOM SA
Chef de projet informatique
Microsoft Certified Professional
Tél. : +33 (0)4-67-87-61-10
Fax. : +33 (0)4-67-70-85-44
Email : address@hiddenr
Web Site : http://www.hymatom.fr
====================================
P Avant d'imprimer, penser à l'environnement
 
-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de aparna.dutta
Envoyé : mardi 11 décembre 2007 09:49
À : 'Mailing list for lwIP users'
Objet : RE: [lwip-users] Receiving RSTs

 

We don’t want to upgrade to VDSP 5.0 and an entirely new version of lwIP at this stage of our project development.

 

Do you know if there has been any fix for this particular bug in the lwIP 1.2.0 , or the VDSP 5.0 port? I will file a bug anyway as Kieran suggested.

 

What could possibly go wrong if I simply ignored this assertion for the time-being?

 

Thanks and regards,

Aparna

 

 


From: address@hidden [mailto:address@hidden On Behalf Of S. Ali Tokmen
Sent: Monday, December 10, 2007 6:34 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Receiving RSTs

 

Hello

 

I think the February 2007 update of VisualDSP has lwIP 0.6. Is it possible for you to upgrade to VisualDSP 5.0 -it includes lwIP 1.2.0?

 

Cheers


S. Ali Tokmen
http://ali.tokmen.com

 

GSM (fr): +33 66 43 00 555 [Bouygues Telecom]
GSM (tr): +90 555 266 52 73 [Avea]

 

My AIM, ICQ, MSN Messenger, and Yahoo IM
contact details are on http://contact.ali.tokmen.com/

 

 

----- Original Message -----

From: aparna.dutta

Sent: Saturday, December 08, 2007 11:27 AM

Subject: [lwip-users] Receiving RSTs

 

We are using Lwip ported onto the Analog Devices VDSP++ 4.5 (Blackfin family , Feb 2007 update) to develop a client which tries to connect to a windows PC server using the socket connect() API.

 

When the Windows server is not up, the PC responds with a RST for a received SYN. The connect() API returns an error, and the client retries connect() after every few seconds.

 

After retrying for the number of times equal to the SYS_MBOX_SIZE, the code fails with the assertion “sys_mbox_post: mbox not full".

 

Receiving an RST triggers the err_tcp() error function which posts a NULL message. It appears that the mbox is getting populated with NULL messages, but these messages are not being read out at all, and so the mbox is getting full.

 

Is this correct behaviour ?

 

Thanks and regards,

Aparna

 


_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

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