Bill Auerbach schrieb:
Check to be sure your Ethernet driver isn't increasing pbuf->ref anywhere. Some drivers do this so that the packet is freed only after a DMA transfer is complete and not at the time low_level_output returns. If it's freed too soon the packet can be corrupted if its pbuf is used before the DMA finishes.
I only use pbuf_alloc() and pbuf_free(). I never use pbuf_ref(), or access pbuf->ref.
_______________________________________________ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users