Page MenuHomeFreeBSD

netdump: Fix netdumping with INVARIANTS kernels
ClosedPublic

Authored by cem on Nov 12 2018, 2:37 AM.
Tags
None
Referenced Files
F169885744: D17957.diff
Wed, Sep 2, 9:27 PM
Unknown Object (File)
Wed, Sep 2, 9:16 AM
Unknown Object (File)
Sat, Aug 29, 1:03 AM
Unknown Object (File)
Sat, Aug 29, 1:02 AM
Unknown Object (File)
Mon, Aug 24, 5:25 PM
Unknown Object (File)
Fri, Aug 21, 7:45 PM
Unknown Object (File)
Fri, Aug 21, 12:04 AM
Unknown Object (File)
Wed, Aug 19, 5:38 AM
Subscribers

Details

Summary

Correct boneheaded assertion I added in r339501. Mea culpa.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 20762
Build 20163: arc lint + arc unit

Event Timeline

markj added inline comments.
sys/kern/kern_mbuf.c
422

Really, this function should never get called while !dumping is true. I think you can just remove that test.

462

Ditto.

This revision is now accepted and ready to land.Nov 12 2018, 3:53 AM
cem marked an inline comment as done.Nov 12 2018, 3:57 AM
cem added inline comments.
sys/kern/kern_mbuf.c
422

OK

cem marked 2 inline comments as done.

Removing '!dumping||' portion of assert condition -- it would always be false
anyway. Per markj.

This revision now requires review to proceed.Nov 12 2018, 3:59 AM
This revision is now accepted and ready to land.Nov 12 2018, 4:09 AM
This revision was automatically updated to reflect the committed changes.