Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 May 2013 17:16:06 -0400
From:      Julian Elischer <julian@freebsd.org>
To:        Ed Schouten <ed@80386.nl>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r250700 - in head/sys: conf net netinet6 sys
Message-ID:  <51954C96.3060409@freebsd.org>
In-Reply-To: <CAJOYFBBdGSz2n0R6e6TrCKsxc-N8nP41WyZ3GWD7EPmva_CSwg@mail.gmail.com>
References:  <201305161620.r4GGKIFI012296@svn.freebsd.org> <CAJOYFBBdGSz2n0R6e6TrCKsxc-N8nP41WyZ3GWD7EPmva_CSwg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/16/13 3:19 PM, Ed Schouten wrote:
> Hey Julian,
>
> 2013/5/16 Julian Elischer <julian@freebsd.org>:
>>   #define M_SETFIB(_m, _fib) do {                                                \
>> -       _m->m_flags &= ~M_FIB;                                          \
>> -       _m->m_flags |= (((_fib) << M_FIBSHIFT) & M_FIB);  \
>> +        KASSERT((_m)->m_flags & M_EXT, ("No FIB on non header mbuf")); \
>> +       ((_m)->m_pkthdr.fibnum) = (_fib);                               \
>>   } while (0)
> This KASSERT triggers on my box at home. Sorry, but busy right now, so
> I can't spend too much time debugging this. Right after getting a
> DHCPACK on bootup, the box panics. Copied by hand:

thanks
My face is red because while this indicates a bug in someone else's 
code, I should
have caught it myself.. but guess what?   I accidentally turned off 
invariants.. duh!

I will track down the  errant code and fix..

Julian


>
> panic: No FIB on non header mbuf
> ..
> db> bt
> kassert_panic()
> rt_newaddrmsg_fib()
> rtinit1()
> in_scrubprefix()
> in_control()
> ifioctl()
> kern_ioctl()
> sys_ioctl()
> amd64_syscall()
> Xfast_syscall()
>
> --
> Ed Schouten <ed@80386.nl>
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51954C96.3060409>