Page MenuHomeFreeBSD

rtsock: do not allocate mbufs_tags(9) just to store a 8-bit value
ClosedPublic

Authored by glebius on Aug 10 2022, 7:22 PM.
Tags
None
Referenced Files
F107356357: D36121.diff
Sun, Jan 12, 11:42 PM
Unknown Object (File)
Tue, Dec 17, 12:43 PM
Unknown Object (File)
Tue, Dec 17, 9:51 AM
Unknown Object (File)
Tue, Dec 17, 6:56 AM
Unknown Object (File)
Dec 11 2024, 10:54 PM
Unknown Object (File)
Dec 10 2024, 5:02 AM
Unknown Object (File)
Dec 6 2024, 9:09 PM
Unknown Object (File)
Oct 9 2024, 12:04 PM
Subscribers

Details

Summary

Use local storage of the mbuf packet header instead.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46838
Build 43727: arc lint + arc unit

Event Timeline

melifaro added inline comments.
sys/net/rtsock.c
160

Nit: I'd rather name it something like m_rtsock_family to indicate that this is a local field.

This revision is now accepted and ready to land.Aug 11 2022, 7:57 AM