Page MenuHomeFreeBSD

netdump: Zone mbufs should be allocated before dump
ClosedPublic

Authored by cem on Sep 24 2018, 11:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 9, 1:47 AM
Unknown Object (File)
Sun, Nov 9, 1:47 AM
Unknown Object (File)
Thu, Nov 6, 2:35 PM
Unknown Object (File)
Fri, Oct 17, 10:08 AM
Unknown Object (File)
Fri, Oct 17, 10:08 AM
Unknown Object (File)
Fri, Oct 17, 10:08 AM
Unknown Object (File)
Fri, Oct 17, 10:08 AM
Unknown Object (File)
Fri, Oct 17, 12:33 AM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/kern/kern_mbuf.c
412 ↗(On Diff #48413)

I'd add a comment or a KASSERT message to the effect of "ran out of pre-allocated buffers".

447 ↗(On Diff #48413)

We want a similar assertion here.

cem marked 2 inline comments as done.

Use a more descriptive kassert, and also check dumping in a spot I missed :-)

This revision is now accepted and ready to land.Sep 25 2018, 3:38 PM
This revision was automatically updated to reflect the committed changes.