Page MenuHomeFreeBSD

Add more checking for unmapped mbufs
ClosedPublic

Authored by markj on Apr 19 2021, 3:40 PM.
Tags
None
Referenced Files
F102742361: D29838.diff
Sat, Nov 16, 2:35 PM
Unknown Object (File)
Sun, Oct 20, 5:36 PM
Unknown Object (File)
Oct 7 2024, 2:30 PM
Unknown Object (File)
Oct 7 2024, 7:39 AM
Unknown Object (File)
Oct 6 2024, 11:34 PM
Unknown Object (File)
Oct 6 2024, 10:32 PM
Unknown Object (File)
Oct 6 2024, 7:40 PM
Unknown Object (File)
Oct 6 2024, 7:40 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 38688
Build 35577: arc lint + arc unit