HomeFreeBSD

epoch: replace hand coded assertion

Description

epoch: replace hand coded assertion

The assertion is equivalent to kstack_contains() so use that rather
than spelling it out.

Suggested by: jhb
Reviewed by: jhb
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D38107

Details

Provenance
brooksAuthored on Jan 20 2023, 6:03 PM
Reviewer
jhb
Differential Revision
D38107: epoch: replace handcoded assertion
Parents
rGcf57f20edcf9: bhyve: Fix a buffer overread in the PCI hda device model.
Branches
Unknown
Tags
Unknown