patchlwIP - A Lightweight TCP/IP stack - Patches: patch #10106, tcp_in : fix ooseq update error

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #10106: tcp_in : fix ooseq update error

Submitter:  Eric.Wu <duckpowermb>
Submitted:  Thu 09 Sep 2021 12:56:49 PM UTC
   
 
Category:  TCP Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  2.2.1

Thu 12 Oct 2023 07:02:19 PM UTC, comment #2: 

Pushed, thanks for the patch! And thanks for shedding light into the long lost bug #56397 ;-)

Simon Goldschmidt <goldsimon>
Group administrator
Thu 09 Sep 2021 01:13:08 PM UTC, comment #1: 

i have met the same situation with BUG #56397 , after reseachig  for a few days, i found a logical bug in ooseq enqeue

original submission:

> if a pbuf received with the same seqno in ooseq ,
> we then check  the size and replace the existing one
> with the larger one,but if the existing one is the
> last segment in ooseq ,it might has been trimed before.
> the replacing action will overrun our receive windows

Eric.Wu <duckpowermb>
Thu 09 Sep 2021 12:56:49 PM UTC, original submission:  

if a pbuf received with the same seqno in ooseq ,
we then check  the size and replace the existing one
with the larger one,but if the existing one is the
last segment in ooseq ,it might has been trimed before.
the replacing action will overrun our receive windows

Eric.Wu <duckpowermb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by duckpowermb (Submitted the item)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-12 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.2.1
    2021-09-09 duckpowermb Attached File- Added 0001-tcp_in-fix-ooseq-update-error.patch, #51885

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code