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
F97644480: D36121.diff
Mon, Sep 30, 1:38 PM
Unknown Object (File)
Sun, Sep 22, 6:01 AM
Unknown Object (File)
Sat, Sep 21, 6:03 PM
Unknown Object (File)
Sat, Sep 21, 5:19 AM
Unknown Object (File)
Wed, Sep 18, 5:26 AM
Unknown Object (File)
Wed, Sep 18, 4:49 AM
Unknown Object (File)
Wed, Sep 18, 3:59 AM
Unknown Object (File)
Tue, Sep 17, 1:45 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