lwIP - A Lightweight TCP/IP stack - Bugs: bug #48476, TCP sent callback called wrongly...
You are not allowed to post comments on this tracker with your current authentication level.
bug #48476: TCP sent callback called wrongly due to picking up old pcb->acked
Submitter: | Ambroz Bizjak <abizjak> | ||
Submitted: | Mon 11 Jul 2016 07:29:06 PM UTC | ||
Category: | TCP | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | 2.0.0 Beta2 |
lwIP version: | git head |
Tue 19 Jul 2016 08:38:37 AM UTC, comment #4: |
Simon Goldschmidt <goldsimon> |
Mon 11 Jul 2016 08:32:12 PM UTC, comment #3:
|
Simon Goldschmidt <goldsimon> |
Mon 11 Jul 2016 08:26:56 PM UTC, comment #2: Hey,
|
Ambroz Bizjak <abizjak> |
Mon 11 Jul 2016 07:44:23 PM UTC, comment #1: Thanks for reporting. Hopefully fixed by resetting pcb->acked after calling the sent callback. |
Simon Goldschmidt <goldsimon> |
Mon 11 Jul 2016 07:29:06 PM UTC, original submission:
In tcp_in.c, tcp_input(), shortly after calling tcp_process(), pcb->acked is checked, and if it's nonzero, the application's sent callback is invoked with the amount of acked data.
|
Ambroz Bizjak <abizjak> |
No files currently attached
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-07-19 | goldsimon | Status | In Progress | Fixed | |
Open/Closed | Open | Closed | |||
2016-07-11 | goldsimon | Status | Fixed | In Progress | |
Open/Closed | Closed | Open | |||
Planned Release | None | 2.0.0 Beta2 | |||
2016-07-11 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-caa5.
Corresponding source code
Changed pcb->acked to a global variable as suggested in comment #2.