[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] netbuf_delete failure in LwIP 1.3.0
From: |
Simon Goldschmidt |
Subject: |
Re: [lwip-users] netbuf_delete failure in LwIP 1.3.0 |
Date: |
Tue, 27 Sep 2011 06:22:51 +0200 |
Have you read Kieran's answer? I think it sounded quite reasonable.
Simon
Gary Bingham <address@hidden> wrote:
> 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.
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users