On 5 Feb 2012, at 21:40, Tyrel Newton wrote: > Does anybody have any clues as to where to look for the problem? My guess is > that its somewhere in the etharp code, but I can't find it. Copying the > entire pbuf is not exactly a good solution, though it definitely works.
The fact the copying solves the problem does suggest you have an issue with the pbuf being freed, reused or corrupted. Are you able to add any debug tracing to your stack? If so, I would add some logging to obvious places like pbuf_free() and see if you can see the pbuf you are using being released. The way that you are using the pbufs is a little unusual. Which API are you using to lwIP? Or are you modifying lwIP internally to get the forwarding behaviour? Kieran _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
