Page MenuHomeFreeBSD

linprocfs: Migrate to IfAPI
ClosedPublic

Authored by jhibbits on Feb 2 2023, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 11, 11:26 AM
Unknown Object (File)
Sat, Dec 6, 2:12 PM
Unknown Object (File)
Nov 24 2025, 9:22 PM
Unknown Object (File)
Nov 10 2025, 3:04 PM
Unknown Object (File)
Nov 3 2025, 12:34 PM
Unknown Object (File)
Nov 1 2025, 12:48 AM
Unknown Object (File)
Oct 24 2025, 9:57 PM
Unknown Object (File)
Oct 13 2025, 2:37 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.