Page MenuHomeFreeBSD

netinet*: Add assertions for some places that don't support M_EXTPG mbufs
ClosedPublic

Authored by jhb on Sep 25 2024, 3:13 PM.
Tags
None
Referenced Files
F106176527: D46785.diff
Thu, Dec 26, 3:58 PM
Unknown Object (File)
Mon, Dec 9, 6:25 AM
Unknown Object (File)
Nov 24 2024, 2:27 AM
Unknown Object (File)
Nov 16 2024, 5:46 AM
Unknown Object (File)
Nov 14 2024, 2:57 PM
Unknown Object (File)
Nov 11 2024, 5:28 AM
Unknown Object (File)
Nov 3 2024, 4:01 PM
Unknown Object (File)
Nov 1 2024, 3:24 AM

Details

Summary

Found while auditing calls to M_WRITABLE to see if M_EXTPG could be
removed from its checks.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb requested review of this revision.Sep 25 2024, 3:13 PM
sys/netinet6/ip6_mroute.c
1533

I'm not sure we need this here. I don't see anything that assumes we're mapped.

sys/netinet6/ip6_mroute.c
1543

m_pullup() assumes mapped mbufs, and m_copym() will preserve unmapped mbufs in the new chain

This revision is now accepted and ready to land.Oct 15 2024, 5:10 PM