lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Re: 1.3.0 Converting issues - chained pbuf, parts sent


From: address@hidden
Subject: Re: [lwip-users] Re: 1.3.0 Converting issues - chained pbuf, parts sent twice
Date: Mon, 11 Aug 2008 18:56:02 +0200
User-agent: Thunderbird 2.0.0.16 (Macintosh/20080707)

Did you notice the interface for netifs has changed a little with 1.3.0?
a) netif->output is set to etharp_output so your ethernetif_output is not needed any more b) incoming ARP packets are sent to the tcpip_thread before processing them as processing them directly lead to multithreading race conditions.

Maybe there's more than that, but as far as I can remember, the port needs to be updated when moving from 1.1.0 to 1.3.0.

Simon


Alan L wrote:
Kieran Mansley <address@hidden> writes:


Sounds like you've got a locking problem, most likely two or more
threads active in the lwIP core at one time, and a list is getting
corrupted.  Unfortunately this means it's probably a problem in your
port rather than in lwIP itself, but I hope that this helps you track it
down.

Kieran


My port application code has remained the same.  Everything is fine if I compile
in lwIP 1.1.0.  Compiling in 1.3.0 results in my problems.  The only port code
difference is that I wrote the initialization for 1.3.0 and is therefore where I
suspect the problem - I just can't seem to put a finger on it.

Thanks,
Alan





_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users






reply via email to

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