patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9368, memp: allow initialization of pool...

 
 

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

patch #9368: memp: allow initialization of pool memory

Submitter:  David GIRAULT <dgirault>
Submitted:  Wed 31 May 2017 11:52:01 AM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Wed 31 May 2017 05:12:26 PM UTC, comment #1: 

OK, may be useful in some cases! Thanks for the patch!

Dirk Ziegelmeier <dziegel>
Group administrator
Wed 31 May 2017 11:52:01 AM UTC, original submission:  

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

David GIRAULT <dgirault>

 

(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 dziegel (Posted a comment)
  • -email is unavailable- added by dgirault (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-05-31 dziegel StatusNone Done
        Open/ClosedOpen Closed
    2017-05-31 dgirault Attached File- Added 0001-memp-allow-initialization-of-pool-memory-if-not-in-s.patch, #40823

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code