VirtualBox

Changeset 50209 in vbox


Ignore:
Timestamp:
Jan 24, 2014 3:16:34 AM (11 years ago)
Author:
vboxsync
Message:

lwip: Sync with git master up to
commit d7a951996b95f2884e20b5b327d345faaedcf4f0
Date: Sat Jan 18 22:41:52 2014 +0100

LWIP_MALLOC_MEMPOOL: fix size calculations.

This change doesn't affect VBox, same object code is generated.

Location:
trunk/src/VBox/Devices/Network/lwip-new
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/lwip-new/CHANGELOG

    r50192 r50209  
    8484
    8585 ++ Bugfixes:
     86
     87  2014-01-08: Stathis Voukelatos
     88  * memp_std.h: patch #7928 Fixed size calculation in MALLOC memory pool
     89    creation macro
    8690
    8791  2014-01-18: Brian Fahs
  • trunk/src/VBox/Devices/Network/lwip-new/src/include/lwip/memp_std.h

    r47886 r50209  
    1313/* This treats "malloc pools" just like any other pool.
    1414   The pools are a little bigger to provide 'size' as the amount of user data. */
    15 #define LWIP_MALLOC_MEMPOOL(num, size) LWIP_MEMPOOL(POOL_##size, num, (size + sizeof(struct memp_malloc_helper)), "MALLOC_"#size)
     15#define LWIP_MALLOC_MEMPOOL(num, size) LWIP_MEMPOOL(POOL_##size, num, (size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper))), "MALLOC_"#size)
    1616#define LWIP_MALLOC_MEMPOOL_START
    1717#define LWIP_MALLOC_MEMPOOL_END
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette