Page MenuHomeFreeBSD

Add more checking for unmapped mbufs
ClosedPublic

Authored by markj on Apr 19 2021, 3:40 PM.

Details

Summary
  • ipdivert and ipfw nat64 need to handle unmapped mbufs
  • Add a M_ASSERTMAPPED() assertion which verifies that all mbufs in a chain are mapped.
  • Use M_ASSERTMAPPED() in ipfw nat. m_megapullup() returns mapped mbuf clusters.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.