1 Dec 2005 09:22
Re: ARP Queueing memory leak
lwip-users-bounces+christiaan.simons=axon.tv@... wrote on 30-11-2005 13:07:07: > > After getting the latest revision in CVS, the inet.c (line 75) file is > updated with "dataptr = ((char*)dataptr+2);" is replaced with line "(void > *)((u16_t *)dataptr + 1);" > > This seems to be a bug or? > We've noticed this may be bug. I was just fiddling to get it in a workable state for the 16 bit c16x mcu. The void pointer increment was clearly wrong, the u16_t increment is only correct for aligned input data. The "two char" increment looks more correct, but the routine will still fail for the c16x. I'm a bit lost on how to get the checksumming right for all architectures, both little- an big-endian, 16-bit aligned and unaligned access. The best thing you can do is stick with the lwip(Continue reading)
RSS Feed