Browse Source

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

STABLE-2_1_x
goldsimon 19 years ago
parent
commit
41a84ef1d3
  1. 4
      CHANGELOG
  2. 2
      src/core/memp.c

4
CHANGELOG

@ -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.

2
src/core/memp.c

@ -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)];

Loading…
Cancel
Save