lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #2595] loopif results in NULL reference for incoming T


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #2595] loopif results in NULL reference for incoming TCP packets
Date: Tue, 17 Apr 2007 08:37:10 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #19, bug #2595 (project lwip):

RE comment #18:

The two patches (file #12510/12511) will work, but creating an own thread is
not really necessary. It is easier to create a simple linked list of pbufs
and call something like loopif_poll() in the main lwip loop (loopif_poll
would call netif->input() for every packet in the linked list.

That way, you save yourself from having an additional thread (which saves
context-switches and thus, time) and a linked list will be way faster than
sys_mbox_t. Also, it's compatible both with NO_SYS=1 and NO_SYS=0.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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