patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9837, Fix definition of...

 
 

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

patch #9837: Fix definition of LWIP_NUM_SYS_TIMEOUT_INTERNAL

Submitter:  Freddie Chopin <freddie_chopin>
Submitted:  Fri 26 Jul 2019 02:46:11 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Fri 26 Jul 2019 05:45:25 PM UTC, comment #1: 

Applied, thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 26 Jul 2019 02:46:11 PM UTC, original submission:  

In timeouts.c commit 7d1c26cc0c18d02cc72f348f9189dd1c3a06bfca replaced timeout for AUTOIP with a timeout for ACD, however the value of LWIP_NUM_SYS_TIMEOUT_INTERNAL was not updated and still counts LWIP_AUTOIP instead of LWIP_ACD. If user has AUTOIP disabled (or not explicitly enabled) and DHCP enabled, then ACD gets automatically enabled too. In this case there will be one timeout too little for lwIP and first TCP packet received causes an assertion.

Also add LWIP_IPV6_DHCP6 to the value of LWIP_NUM_SYS_TIMEOUT_INTERNAL, as it was also not accounted for.

Freddie Chopin <freddie_chopin>

 

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

 

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 freddie_chopin (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-26 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2019-07-26 freddie_chopin Attached File- Added 0001-Fix-definition-of-LWIP_NUM_SYS_TIMEOUT_INTERNAL.patch, #47264

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code