lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #9368] memp: allow initialization of pool memory


From: David GIRAULT
Subject: [lwip-devel] [patch #9368] memp: allow initialization of pool memory
Date: Wed, 31 May 2017 07:52:02 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36

URL:
  <http://savannah.nongnu.org/patch/?9368>

                 Summary: memp: allow initialization of pool memory
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: dgirault
            Submitted on: Wed 31 May 2017 11:52:01 AM 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:

This patch add a new option, MEMP_MEM_INIT, which force use of memset() to
initialize pool memory during init.

This is useful if pool are moved in uninitialized section of memory. This will
ensure default values in pcbs struct are well initialized in all conditions.

Without this patch, our program (with all memp pools moved in sdram memory,
not initialized like .bss section was) fail with listenning socket don't
accepting any connexion (netif_idx ins't 0)!


Regards,
David



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 31 May 2017 11:52:01 AM UTC  Name:
0001-memp-allow-initialization-of-pool-memory-if-not-in-s.patch  Size: 2kB  
By: dgirault

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?9368>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]