lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Data packets splitting on odd boundaries -> causes exceptio


From: Michael Anburaj
Subject: [lwip-users] Data packets splitting on odd boundaries -> causes exception
Date: Wed, 19 Feb 2003 01:18:11 -0800 (PST)

Hi,

I guess within the LwIP stack when large data packets
(HTTP packets) are sent in, they get split into tiny
packets & then get sent out. The console debug output
what I got indicates that the splitting could happen
on odd byte boundaries. Whereas the lwip_chksum()
routine in inet.c file assumes the pbuf payload
pointer address to be aligned on a half-word (16bit
address) boundary.


Console output clipping:
-----------------------

inet_chksum_pseudo(): checksumming pbuf 8014fa1c (has
next 0)
PBuf Flags: 0001
PBuf Ref Cnt: 0001
PBuf Payload ptr: 80118513
>[3e] <[3c] /[2f] B[42] O[4f] D[44] Y[59] >[3e] <[3c]
/[2f] h[68] t[74] m[6d] l[6c] >[3e] [00]
lwip_chksum(80118513, 16)

!!! Exception context !!!
BADVADDR: 0x80118513
CAUSE: 0x00808410
EPC: 0x8010ab5c
ERROREPC: 0x80102eec
DEL exception !!!


Please reply to me ASAP.

Thanks to Jani Monoses & Kieran Mansley for their
quick responses.

Thanks a lot,
-Mike.


__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com




reply via email to

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