Page MenuHomeFreeBSD

linprocfs: Migrate to IfAPI
ClosedPublic

Authored by jhibbits on Feb 2 2023, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 12:10 AM
Unknown Object (File)
Tue, Mar 24, 6:38 AM
Unknown Object (File)
Sun, Mar 22, 6:50 AM
Unknown Object (File)
Wed, Mar 18, 3:11 PM
Unknown Object (File)
Sun, Mar 15, 7:46 AM
Unknown Object (File)
Mar 3 2026, 12:47 PM
Unknown Object (File)
Mar 2 2026, 10:11 AM
Unknown Object (File)
Feb 9 2026, 3:24 PM
Subscribers

Details

Summary

Migrate linprocfs to use the IfAPI interfaces instead of direct ifnet
accesses.

Diff Detail

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

Event Timeline

dchagin added inline comments.
sys/compat/linprocfs/linprocfs.c
1497
1503

just out of curiosity, why to not use designated initializers?

This revision is now accepted and ready to land.Feb 3 2023, 10:40 AM
sys/compat/linprocfs/linprocfs.c
1503

No conscious reason. They haven't been used much in kernel code, so I got away from the habit long ago.

This revision was automatically updated to reflect the committed changes.