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
Unknown Object (File)
Wed, Jan 8, 2:51 AM
Unknown Object (File)
Dec 5 2024, 11:06 AM
Unknown Object (File)
Dec 4 2024, 7:32 PM
Unknown Object (File)
Nov 20 2024, 2:28 PM
Unknown Object (File)
Nov 18 2024, 2:21 PM
Unknown Object (File)
Nov 17 2024, 10:42 PM
Unknown Object (File)
Nov 15 2024, 8:33 AM
Unknown Object (File)
Nov 5 2024, 11:21 PM

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