ARM network trouble after recent mbuf changes

Thomas Skibo ThomasSkibo at sbcglobal.net
Tue Aug 27 17:14:26 UTC 2013



On 8/27/13 4:05 AM, Andre Oppermann wrote:
>
> Thanks.  I've changed the test accordingly.
>
> While doing the CTASSERTs to prevent such an incident in the future I
> stumbled
> across a bit of evil name space pollution in mbuf.h.  It is impossible
> to take
> sizeof(struct m_ext) because "m_ext" is redefined to point into struct
> mbuf.
>
> In addition to the alignment fix I've solved the namespace issues with
> m_ext
> and the stupidly named struct pkthdr as well and properly prefixed
> them.  The
> fallout from LINT was zero (as it should be).
>
>   http://people.freebsd.org/~andre/m_hdr-alignment-20130827.diff
>
> Please test.
>

I'm running this patch on Zedboard and it is doing well.  Thanks!

-- 
--------
Thomas Skibo
ThomasSkibo at sbcglobal.net



More information about the freebsd-arm mailing list