aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-04-09 05:47:33 -0700
committerEric W. Biederman <ebiederm@xmission.com>2011-04-12 14:40:53 -0700
commita9572d808a6f55c1524d9339566e22e6722982b9 (patch)
tree0dfe409cfa1bb4b8bae779c9d800a4bc8bad827b /core
parentaef1de9230f9d0f3d52c2243aab6881e7e6c238d (diff)
downloadsyslinux-a9572d808a6f55c1524d9339566e22e6722982b9.tar.gz
syslinux-a9572d808a6f55c1524d9339566e22e6722982b9.tar.xz
syslinux-a9572d808a6f55c1524d9339566e22e6722982b9.zip
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@xmission.com>
Diffstat (limited to 'core')
-rw-r--r--core/lwip/src/include/lwipopts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lwip/src/include/lwipopts.h b/core/lwip/src/include/lwipopts.h
index c46b0576..9596c040 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