[OpenAFS-devel] Crash on AIX 6.1 TL6 SP3

Derrick Brashear shadow@gmail.com
Thu, 3 Mar 2011 10:58:34 -0500


On Thu, Mar 3, 2011 at 10:55 AM, Derrick Brashear <shadow@gmail.com> wrote:
> wild guess: m_hdr changed size because of:

[]

> meaning struct mbuf shrank by 4 bytes
>
> so the question is, what's the best way to get a mbuf provided to us
> by the kernel that we can check out the size, and
> then presumably we provide our own struct mbufs, so we can make
> m_next, m_len, m_flags, m_ext, m_pkthdr and whatever
> else be instead macros which dtrt given what we booted on... and screw
> the whole "build twice" plan.

i guess we'd also have to provide MGET/MGETHDR. which makes this messier.