[patch #9837] Fix definition of LWIP_NUM_SYS_TIMEOUT_INTERNAL

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch #9837] Fix definition of LWIP_NUM_SYS_TIMEOUT_INTERNAL

David GIRAULT-2
URL:
  <https://savannah.nongnu.org/patch/?9837>

                 Summary: Fix definition of LWIP_NUM_SYS_TIMEOUT_INTERNAL
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: freddie_chopin
            Submitted on: Fri 26 Jul 2019 02:46:11 PM UTC
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 26 Jul 2019 02:46:11 PM UTC  Name:
0001-Fix-definition-of-LWIP_NUM_SYS_TIMEOUT_INTERNAL.patch  Size: 2KiB   By:
freddie_chopin

<http://savannah.nongnu.org/patch/download.php?file_id=47264>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9837>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel
Reply | Threaded
Open this post in threaded view
|

[patch #9837] Fix definition of LWIP_NUM_SYS_TIMEOUT_INTERNAL

David GIRAULT-2
Update of patch #9837 (project lwip):

                  Status:                    None => Done                  
             Assigned to:                    None => goldsimon              
             Open/Closed:                    Open => Closed                

    _______________________________________________________

Follow-up Comment #1:

Applied, thanks for the patch.

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/patch/?9837>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel