[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #16377] MEM_ALIGN and MEM_ALIGN_SIZE

From: Jonathan Larmour
Subject: [lwip-devel] [bug #16377] MEM_ALIGN and MEM_ALIGN_SIZE
Date: Mon, 26 Feb 2007 14:26:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061221 Fedora/ Firefox/

Follow-up Comment #2, bug #16377 (project lwip):

I think the poster may be thinking about the case of PBUF_POOL_BUFSIZE
leading to an unaligned address for each pbuf (other than the first, which is
set as pbuf_pool with a MEM_ALIGN). That would cause real problems. 

Perhaps a better "solution" for that would be an assert in pbuf_init to
ensure that PBUF_POOL_BUFSIZE is a multiple of the alignment.

(file #12042)

Additional Item Attachment:

File name: lwip.pbuf.aligncheck.patch.txt Size:0 KB


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]