On Thu, Dec 03, 2015 at 04:14:08PM +0000, Sevan / Venture37 wrote:
>
>
> On 03/12/2015 16:08, Mike Belopuhov wrote:
> > this looks correct.
>
> I applied Alexander's patch on top of yours.
> Still crashed.
That's because Mike's patch got the same bug by copy@pase.
So we could see what is going on.
+ if ((m->m_flags & M_PKTHDR) == 0)
+ panic("no HDR: %s", __func__);
if (niq_enqueue(ifq, m) != 0)
return (ENOBUFS);
So either you change both "m" to "top" or you only use my fix of
niq_enqueue(). This should work:
if ((top->m_flags & M_PKTHDR) == 0)
panic("no HDR: %s", __func__);
if (niq_enqueue(ifq, top) != 0)
return (ENOBUFS);
bluhm