Page MenuHomeFreeBSD

linprocfs: Migrate to IfAPI
ClosedPublic

Authored by jhibbits on Feb 2 2023, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Aug 5, 12:00 AM
Unknown Object (File)
Sat, Aug 2, 12:37 AM
Unknown Object (File)
Mon, Jul 28, 4:04 PM
Unknown Object (File)
Mon, Jul 28, 8:34 AM
Unknown Object (File)
Jun 23 2025, 5:17 AM
Unknown Object (File)
Jun 21 2025, 11:42 PM
Unknown Object (File)
Jun 15 2025, 5:07 PM
Unknown Object (File)
Jun 11 2025, 6:50 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.