lwIP - A Lightweight TCP/IP stack - Bugs: bug #57452, CHECKSUM_ON_COPY leads to random...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57452: CHECKSUM_ON_COPY leads to random bit error in TCP checksum
Submitter: | Victor Brzeski <vbrzeski> | ||
Submitted: | Thu 19 Dec 2019 09:42:25 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open | Planned Release: | None |
lwIP version: | git head |
Fri 27 Mar 2020 01:39:08 AM UTC, comment #3: |
Victor Brzeski <vbrzeski> |
Sat 11 Jan 2020 12:34:23 AM UTC, comment #2:
|
Victor Brzeski <vbrzeski> |
Fri 10 Jan 2020 09:22:01 PM UTC, comment #1: Have you tried TCP_CHECKSUM_ON_COPY_SANITY_CHECK? That should run TCP_CHECKSUM_ON_COPY and traditional checksum in parallel and report errors at the same time. If you put a breakpoint on the error-reporting lines or insert code to dump state there, you might be able to debug what's wrong. |
Simon Goldschmidt <goldsimon> |
Thu 19 Dec 2019 09:42:25 PM UTC, original submission:
Hello,
|
Victor Brzeski <vbrzeski> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-12-19 | vbrzeski | Attached File | - | Added csum_copy_capture.pcapng, #48092 | |
Attached File | - | Added teraterm.log, #48093 | |||
Carbon-Copy | - | Added -email is unavailable- |
Powered by Savane 3.13-caa5.
Corresponding source code
Hello Simon,
I spent some time this week looking at this issue.
- Very likely not an issue with the memcpy/csum routines
- Likely not an issue my netif (I did make some improvements)
- UDP checksum on copy works fine
- Turning off all non-lwip macros doesn't aid the problem
- Using lwIP's checksum on copy algorithm doesn't aid the problem
I may have come full circle with my work on this, but it doesn't seem to be present with UDP from what I can tell so far.
I will try and dedicate a bit more time in the next few months to work on this further, but I need to ignore the feature for now.