lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP packet out-of-order


From: Sergio R. Caprile
Subject: Re: [lwip-users] TCP packet out-of-order
Date: Mon, 31 Oct 2016 10:14:25 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

I see your out-of-order friend in frame #11 looks very much like frame #8 revisited. I would say that is a DMA driver glitch (are you using DMA ?), however, the IP ID field is different, so it looks more like a resend, due to frame #9 being internally lost; however, this does not look consistent with frame #10. I see frame #10 is 700us after the ACK, while others are usually 200us after the ACK. We might have something here...

Maybe
you might be not paying attention to single-threading rules for
low-level functions and trashing your memory,
your application might be trashing memory.
your DMA driver is messing around,
or we found an elusive lwIP bug.

Can you please
 describe your driver,
 describe your main loop
confirm you don't call lwIP from main loop and interrupts, single context only.
 post your lwipopts file,
 post how you are using the RAW API,
and try with a simple known-good app like netio if you run into the same issue ?





reply via email to

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