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, 24 Apr 2007 08:46:00 +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 #27, bug #2595 (project lwip):

> Thank you for the patch. This version works with my
> RAW API FreeRTOS and unixsim build.

That's nice

> BTW, it looks to me that '#include "lwip/mem.h"' could be
> rearranged to #if !LWIP_LOOPIF_MULTITHREADING block as
> mem_malloc() is only used in !MULTITHREADING case.

Yes, and some other includes were missing to be correct. Checked that in.

What's still missing is that instead of PBUF_RAM (which, for now, is in one
chunk), other (chained) pbufs could be used. In order to save code I'm
planning to modify pbuf_copy() (used for arp queueing) so that it doesn't
allocate the target pbuf and can cope with source and target being chained.

    _______________________________________________________

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]