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
Unknown Object (File)
Mar 5 2025, 11:10 AM
Unknown Object (File)
Mar 4 2025, 9:13 PM
Unknown Object (File)
Mar 1 2025, 7:33 PM
Unknown Object (File)
Mar 1 2025, 2:45 PM
Unknown Object (File)
Feb 10 2025, 8:31 AM
Unknown Object (File)
Feb 5 2025, 12:43 AM
Unknown Object (File)
Jan 26 2025, 6:25 PM
Unknown Object (File)
Jan 14 2025, 1:21 PM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59595
Build 56482: arc lint + arc unit

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