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, Oct 13, 2:37 PM
Unknown Object (File)
Sat, Oct 11, 2:17 AM
Unknown Object (File)
Sat, Oct 11, 2:17 AM
Unknown Object (File)
Fri, Oct 10, 7:36 PM
Unknown Object (File)
Fri, Oct 10, 7:36 PM
Unknown Object (File)
Fri, Oct 10, 2:21 PM
Unknown Object (File)
Mon, Sep 29, 12:36 AM
Unknown Object (File)
Sat, Sep 27, 4:05 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.