lwip-devel
[Top][All Lists]
Advanced

[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:1.8.0.9) Gecko/20061221 Fedora/1.5.0.9-1.fc5 Firefox/1.5.0.9

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:

  <http://savannah.nongnu.org/bugs/?16377>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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