From 75bb43698c97487b422ce6460ad4af9a2f3404f1 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sat, 20 Mar 2010 11:57:34 +0000 Subject: [PATCH] Disable MEMP_TCPIP_MSG_INPKT pool for LWIP_TCPIP_CORE_LOCKING_INPUT==1 --- src/include/lwip/memp_std.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/lwip/memp_std.h b/src/include/lwip/memp_std.h index 6aad9ddd..30bc2f25 100644 --- a/src/include/lwip/memp_std.h +++ b/src/include/lwip/memp_std.h @@ -55,7 +55,9 @@ LWIP_MEMPOOL(NETCONN, MEMP_NUM_NETCONN, sizeof(struct netconn), #if NO_SYS==0 LWIP_MEMPOOL(TCPIP_MSG_API, MEMP_NUM_TCPIP_MSG_API, sizeof(struct tcpip_msg), "TCPIP_MSG_API") +#if !LWIP_TCPIP_CORE_LOCKING_INPUT LWIP_MEMPOOL(TCPIP_MSG_INPKT,MEMP_NUM_TCPIP_MSG_INPKT, sizeof(struct tcpip_msg), "TCPIP_MSG_INPKT") +#endif /* !LWIP_TCPIP_CORE_LOCKING_INPUT */ #endif /* NO_SYS==0 */ #if ARP_QUEUEING