Fixed bug #11400-2: New etharp queueing introduced bug: memp_memory was allocated too small.

This commit is contained in:
goldsimon 2007-03-09 07:15:04 +00:00
parent 86cecd6700
commit 41a84ef1d3
2 changed files with 5 additions and 1 deletions

View File

@ -54,6 +54,10 @@ HISTORY
++ Bug fixes:
2007-03-09 Simon Goldschmidt
* memp.c: Fixed bug #11400: New etharp queueing introduced bug: memp_memory
was allocated too small.
2007-03-06 Simon Goldschmidt
* tcpip.c: Initialize dhcp timers in tcpip_thread (if LWIP_DHCP) to protect
the stack from concurrent access.

View File

@ -103,7 +103,7 @@ static u8_t memp_memory[MEM_ALIGNMENT - 1 +
MEMP_TYPE_SIZE(MEMP_NUM_NETCONN, struct netconn) +
MEMP_TYPE_SIZE(MEMP_NUM_TCPIP_MSG, struct tcpip_msg) +
#if ARP_QUEUEING
MEMP_TYPE_SIZE(MEMP_NUM_TCPIP_MSG, struct etharp_q_entry) +
MEMP_TYPE_SIZE(MEMP_NUM_ARP_QUEUE, struct etharp_q_entry) +
#endif
MEMP_TYPE_SIZE(MEMP_NUM_SYS_TIMEOUT, struct sys_timeo)];