FreeBSD 9 as PPPoE BRAS(mpd 5.7) kernel panic

Paweł Tyll ofca at ofca.me
Sun Jun 22 23:16:31 UTC 2014


Hello Adrian,

Sunday, June 22, 2014, 8:14:22 PM, you wrote:
> They're NULL pointer derferences, so it's likely a race condition with
> some other thread destroying something and setting the pointer value
> to NULL somewhere.

> I thought this was a reasonably well known problem? Was it ever fixed
> in 10/head?
It  probably  wasn't, since I had similar issues on 10-STABLE r266523.
It's  caused  (most  often)  by  packet returning from traffic shaping
queues, when in the meantime ng interface got destroyed by mpd. That's
why the sleep hack works; mpd destroys interface 1s later that usual.

Curious  though,  that  hostelnet uses ng_car for traffic shaping, yet
things  still panic, even though whole ordeal happens inside netgraph.

Lots of entry-points for a fix :)



More information about the freebsd-net mailing list