lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] lwip 0.4.2: missing mem_free() with broadcasts?


From: Horst Garnetzke
Subject: [lwip-users] Re: [lwip] lwip 0.4.2: missing mem_free() with broadcasts?
Date: Thu, 09 Jan 2003 00:04:31 -0000

Hi Adam,

Adam Dunkels wrote:

> You just found an ugly bug - broadcast pbufs were never deallocated with IP 
> forwarding turned on!
> 
> The short term solution is to turn of IP forwarding in lwipopts.h, the long 


Fine - that works! I don't need IP forwarding - it was just defined.

> Are you allocating heap memory for incoming pbufs (i.e., pbuf type PBUF_RAM)?

Yes ...
       // ethernet-II ip
       q = pbuf_alloc(PBUF_RAW, dataLen, PBUF_RAM);
       if(q != NULL) {
? is that a problem ?

>>Should I switch to new pre-0.5 stack (cvs stack)?
>>
> 
> It is probably best, since there are other just-fixed bugs that are present 
> in 0.4.2. The biggest problem with migrating from 0.4.x to 0.5 is the 
Ok - so I'll have a look at the new sources ...


-Horst

-- 
Horst Garnetzke                      address@hidden

[This message was sent through the lwip discussion list.]




reply via email to

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