lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #23240] recv_udp increases counters for available rece


From: Daphne
Subject: [lwip-devel] [bug #23240] recv_udp increases counters for available receives before netbuf is actually posted
Date: Mon, 11 May 2009 08:01:00 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; InfoPath.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; Creative ZENcast v1.02.10)

Follow-up Comment #9, bug #23240 (project lwip):

hi, all. 
I'm a new comer of lwip. I also have this bug in our embedded system, so I
trace the code.

I'm wondering whether using a buf linked-list for each netconn help.
sys_mbox_trypost() is just used for synchronization, not for passing buf
pointer. Since if sys_mbox_trypost() fails, the code has to free the
buf(netbuf_delete()), and this wastes CPU resource (we copy the data from
driver, but have no chance to process it).  

Besides, in my opinion, sys_mbox_trypost() fail probably results from mbox
full, so it might be good to keep the buf.

How do you think?
(Sorry for my bad English.)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?23240>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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