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
F108040800: D17306.id48413.diff
Mon, Jan 20, 8:04 PM
Unknown Object (File)
Sat, Jan 18, 9:45 PM
Unknown Object (File)
Sat, Jan 18, 5:08 PM
Unknown Object (File)
Fri, Jan 17, 3:54 PM
Unknown Object (File)
Dec 11 2024, 11:50 AM
Unknown Object (File)
Oct 18 2024, 8:04 PM
Unknown Object (File)
Oct 1 2024, 4:39 AM
Unknown Object (File)
Sep 26 2024, 3:27 AM
Subscribers

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19785
Build 19336: arc lint + arc unit

Event Timeline

sys/kern/kern_mbuf.c
412

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

447

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.