svn commit: r250700 - in head/sys: conf net netinet6 sys

Julian Elischer julian at freebsd.org
Thu May 16 21:29:52 UTC 2013


On 5/16/13 5:16 PM, Julian Elischer wrote:
> On 5/16/13 3:19 PM, Ed Schouten wrote:
>> Hey Julian,
>>
>> 2013/5/16 Julian Elischer <julian at 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..

red face....    note the cut-n-paste error above..  M_EXT should be 
M_PKTHDR

see correcting commit

>
> Julian
>
> \
>
>



More information about the svn-src-head mailing list