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
F105547716: D36121.id109121.diff
Tue, Dec 17, 12:43 PM
F105536741: D36121.id109172.diff
Tue, Dec 17, 9:51 AM
F105525858: D36121.diff
Tue, Dec 17, 6:56 AM
Unknown Object (File)
Wed, Dec 11, 10:54 PM
Unknown Object (File)
Tue, Dec 10, 5:02 AM
Unknown Object (File)
Fri, Dec 6, 9:09 PM
Unknown Object (File)
Oct 9 2024, 12:04 PM
Unknown Object (File)
Oct 1 2024, 10:13 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