lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) i


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #27791] null pointer dereference (pcb->unacked == 0) in tcp_in.c:tcp_process
Date: Fri, 23 Oct 2009 17:04:12 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3

Follow-up Comment #5, bug #27791 (project lwip):

In lwIP, there is no such thing as asynchronous reception (it's simply not
supported).

What you have to do is: if you are using the tcpip_thread, your netif->input
must be set to tcpip_input, not ip_input or ethernet_input (pass tcpip_input
to netif_add). This ensures RX packets are passed to an mbox and are not
processed until tcp_output returns.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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