Page MenuHomeFreeBSD

Add more checking for unmapped mbufs
ClosedPublic

Authored by markj on Apr 19 2021, 3:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 25, 7:40 PM
Unknown Object (File)
Sat, Jan 25, 7:27 PM
Unknown Object (File)
Mon, Jan 6, 3:52 PM
Unknown Object (File)
Nov 16 2024, 5:54 PM
Unknown Object (File)
Nov 16 2024, 5:50 PM
Unknown Object (File)
Nov 16 2024, 2:35 PM
Unknown Object (File)
Oct 20 2024, 5:36 PM
Unknown Object (File)
Oct 7 2024, 2:30 PM
Subscribers

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
Lint Not Applicable
Unit
Tests Not Applicable