[syslinux:lwip] lwip: Disable lwip's malloc routines
syslinux-bot for Eric W. Biederman
ebiederm at xmission.com
Fri Apr 22 20:05:48 PDT 2011
Commit-ID: a9572d808a6f55c1524d9339566e22e6722982b9
Gitweb: http://syslinux.zytor.com/commit/a9572d808a6f55c1524d9339566e22e6722982b9
Author: Eric W. Biederman <ebiederm at xmission.com>
AuthorDate: Sat, 9 Apr 2011 05:47:33 -0700
Committer: Eric W. Biederman <ebiederm at xmission.com>
CommitDate: Tue, 12 Apr 2011 14:40:53 -0700
lwip: Disable lwip's malloc routines
lwip's malloc routines conflict with the core malloc
and free routine's and Peter's earlier port apparently
had acceptable performance without them.
Signed-off-by: Eric W. Biederman <ebiederm at xmission.com>
---
core/lwip/src/include/lwipopts.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index c46b057..9596c04 100644
--- a/core/lwip/src/include/lwipopts.h
+++ b/core/lwip/src/include/lwipopts.h
@@ -25,8 +25,8 @@
#define LWIP_SOCKET 0
-#define MEM_LIBC_MALLOC 0
-#define MEMP_MEM_MALLOC 0
+#define MEM_LIBC_MALLOC 1
+#define MEMP_MEM_MALLOC 1
#define MEMP_NUM_TCP_PCB 64
#define MEMP_NUM_TCP_SEG 256
More information about the Syslinux-commits
mailing list