Page MenuHomeFreeBSD

LinuxKPI: add KPI for netdev_notifier_info returning ifp
ClosedPublic

Authored by bz on May 28 2021, 12:59 PM.
Tags
None
Referenced Files
F102906585: D30522.diff
Mon, Nov 18, 2:21 PM
F102846946: D30522.id91065.diff
Sun, Nov 17, 10:42 PM
Unknown Object (File)
Fri, Nov 15, 8:33 AM
Unknown Object (File)
Tue, Nov 5, 11:21 PM
Unknown Object (File)
Oct 10 2024, 10:20 PM
Unknown Object (File)
Oct 6 2024, 8:21 AM
Unknown Object (File)
Oct 6 2024, 5:52 AM
Unknown Object (File)
Oct 6 2024, 2:07 AM

Details

Summary

While currently the ifp gets cast to a net_device and then returned
and consumers are expecting an ifp again allow parallel usage now and
in the future by extending and also passing the ifp directly back in
the netdev_notifier_info. Add a function to return the ifp instead of
the net_device.

Sponsored by: The FreeBSD Foundation
MFC after: 10 days
Suggested by: hselasky

Test Plan

Currently untested; not even compiled.

Diff Detail

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