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
Unknown Object (File)
Sun, Jan 19, 10:16 PM
Unknown Object (File)
Tue, Jan 14, 9:24 PM
Unknown Object (File)
Mon, Jan 13, 2:58 AM
Unknown Object (File)
Mon, Jan 13, 2:43 AM
Unknown Object (File)
Sun, Jan 12, 11:42 PM
Unknown Object (File)
Dec 17 2024, 12:43 PM
Unknown Object (File)
Dec 17 2024, 9:51 AM
Unknown Object (File)
Dec 17 2024, 6:56 AM
Subscribers

Details

Summary

Use local storage of the mbuf packet header instead.

Diff Detail

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

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