diff --git a/src/include/lwip/opt.h b/src/include/lwip/opt.h index b9c7cee8..debfe79c 100644 --- a/src/include/lwip/opt.h +++ b/src/include/lwip/opt.h @@ -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