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)
Feb 19 2024, 6:21 PM
Unknown Object (File)
Feb 19 2024, 6:21 PM
Unknown Object (File)
Feb 19 2024, 6:21 PM
Unknown Object (File)
Feb 19 2024, 1:22 PM
Unknown Object (File)
Dec 23 2023, 12:47 PM
Unknown Object (File)
Dec 12 2023, 7:02 AM
Unknown Object (File)
Dec 8 2023, 4:13 AM
Unknown Object (File)
Dec 3 2023, 8:30 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