lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] netbuf_delete failure in LwIP 1.3.0


From: Gary Bingham
Subject: [lwip-users] netbuf_delete failure in LwIP 1.3.0
Date: Mon, 26 Sep 2011 20:46:01 -0700

Hello LwIP users' forum,

I am using LwIP 1.3.0 on Altium's NanoBoard3000. This is an FPGA SoC development board for those who are unfamiliar with the name. Anyway, I am sending UDP packets from a PC to the nanoboard and the nanoboard side application works just fine for MEMP_NUM_NETBUF - 1 packets. The data is received and the application program acts on the data until MEMP_NUM_NETBUF - 1 packets have been received. At this time the next call to netbuf_recv never returns. I call netbuf_new at the beginning of the loop and netbuf_delete at the end of the loop. If I understand the API reference correctly this should fulfill the requirement of deleting the netbuf after use. Even after my code seems to hang, I'm able to successfully ping the nanoboard from a console on the PC. Have I missed anything here? Is there a known bug with netbuf_delete at this revision? If anyone here can be of assistance, I will be greatly appreciative.

Cheers,

farpart103

P.S.  the code in question is available on request.

reply via email to

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