Page MenuHomeFreeBSD

linprocfs: Migrate to IfAPI
ClosedPublic

Authored by jhibbits on Feb 2 2023, 10:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 3:50 PM
Unknown Object (File)
Sun, Nov 17, 5:53 PM
Unknown Object (File)
Tue, Nov 12, 9:02 AM
Unknown Object (File)
Mon, Nov 11, 4:41 PM
Unknown Object (File)
Sep 30 2024, 4:46 AM
Unknown Object (File)
Sep 27 2024, 8:54 PM
Unknown Object (File)
Sep 24 2024, 11:19 PM
Unknown Object (File)
Sep 24 2024, 6:33 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.