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
Unknown Object (File)
Sun, Feb 22, 2:35 PM
Unknown Object (File)
Sun, Feb 22, 8:48 AM
Unknown Object (File)
Tue, Feb 10, 7:33 AM
Unknown Object (File)
Sun, Feb 8, 5:04 PM
Unknown Object (File)
Feb 1 2026, 6:55 AM
Unknown Object (File)
Jan 31 2026, 6:24 PM
Unknown Object (File)
Jan 30 2026, 12:41 AM
Unknown Object (File)
Jan 26 2026, 1:24 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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