HomeFreeBSD

Add required checks for unmapped mbufs in ipdivert and ipfw

Description

Add required checks for unmapped mbufs in ipdivert and ipfw

Also add an M_ASSERTMAPPED() macro to verify that all mbufs in the chain
are mapped. Use it in ipfw_nat, which operates on a chain returned by
m_megapullup().

PR: 255164
Reviewed by: ae, gallatin
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29838

Details

Provenance
markjAuthored on Apr 21 2021, 7:38 PM
Reviewer
ae
Differential Revision
D29838: Add more checking for unmapped mbufs
Parents
rG66483838039b: systat: Handle SIGWINCH to properly window resizing and adjust
Branches
Unknown
Tags
Unknown