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
F167926890: D36121.id109121.diff
Tue, Aug 25, 11:30 AM
F167914661: D36121.id.diff
Tue, Aug 25, 10:05 AM
F167896546: D36121.id109121.diff
Tue, Aug 25, 7:53 AM
Unknown Object (File)
Mon, Aug 24, 4:49 AM
Unknown Object (File)
Mon, Aug 24, 4:04 AM
Unknown Object (File)
Sun, Aug 23, 3:51 AM
Unknown Object (File)
Wed, Aug 12, 1:57 PM
Unknown Object (File)
Wed, Aug 12, 11:25 AM
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