Page MenuHomeFreeBSD

Use M_SIZE() and M_START() rather than inline implementations in uipc_mbuf.c
ClosedPublic

Authored by rwatson on Jan 6 2015, 1:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 15, 2:08 AM
Unknown Object (File)
Fri, Nov 14, 11:40 PM
Unknown Object (File)
Fri, Nov 14, 11:39 PM
Unknown Object (File)
Fri, Nov 14, 11:39 PM
Unknown Object (File)
Fri, Nov 14, 9:08 PM
Unknown Object (File)
Oct 18 2025, 10:05 AM
Unknown Object (File)
Sep 12 2025, 11:15 PM
Unknown Object (File)
Sep 12 2025, 9:33 PM
Subscribers
None

Details

Summary

Replace hand-crafted versions of M_SIZE() and M_START() in uipc_mbuf.c with calls to the centralised macros, reducing instances of direct use of MLEN and MHLEN.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

rwatson retitled this revision from to Use M_SIZE() and M_START() rather than inline implementations in uipc_mbuf.c.
rwatson updated this object.
rwatson edited the test plan for this revision. (Show Details)
rwatson set the repository for this revision to rS FreeBSD src repository - subversion.
rwatson added a reviewer: network.
rwatson set the repository for this revision to rS FreeBSD src repository - subversion.
bz added a reviewer: bz.
This revision is now accepted and ready to land.Jan 6 2015, 5:09 PM
rwatson updated this revision to Diff 3043.

Closed by commit rS276818 (authored by @rwatson).