Page MenuHomeFreeBSD

netinet6: embed struct scope6_id into struct in6_ifextra
ClosedPublic

Authored by glebius on Jan 15 2026, 3:25 AM.
Tags
None
Referenced Files
F167657228: D54726.id170303.diff
Sun, Aug 23, 2:20 PM
Unknown Object (File)
Sat, Aug 22, 12:05 AM
Unknown Object (File)
Fri, Aug 21, 9:58 PM
Unknown Object (File)
Fri, Aug 21, 9:57 PM
Unknown Object (File)
Sun, Aug 16, 9:57 PM
Unknown Object (File)
Thu, Aug 13, 12:04 PM
Unknown Object (File)
Wed, Aug 12, 12:38 AM
Unknown Object (File)
Tue, Aug 11, 11:54 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 69901
Build 66784: arc lint + arc unit

Event Timeline

Do we still need this? I think scope modification ability was not used/implemented since KAME import.

I have very little idea about that. I'm just working on making interfaces detach more safe and I want in6_ifextra to be a single piece of memory which would have delayed reclamation.

I'd be very happy if an IPv6 expert comes and axes of pieces of IPv6 that aren't needed at all. Some locking in scope6.c looks suspicious to me, so I doubt the code is actively used indeed.

This revision is now accepted and ready to land.Jan 23 2026, 9:02 PM