PBUF_POOL_BUFSIZE: For the default length, alignment check in pbuf_init() failed.

This commit is contained in:
goldsimon 2007-04-30 13:12:33 +00:00
parent cde6d0deed
commit 36e8213e42

View File

@ -383,7 +383,7 @@ a lot of data that needs to be copied, this should be set high. */
#ifndef PBUF_POOL_BUFSIZE
/* Default designed to accomodate single full size TCP frame in one PBUF */
/* TCP_MSS + 40 for IP and TCP headers + physical layer headers */
#define PBUF_POOL_BUFSIZE (TCP_MSS+40+PBUF_LINK_HLEN)
#define PBUF_POOL_BUFSIZE MEM_ALIGN_SIZE(TCP_MSS+40+PBUF_LINK_HLEN)
#endif