HomeFreeBSD

LinuxKPI: add KPI for netdev_notifier_info returning ifp

Description

LinuxKPI: add KPI for netdev_notifier_info returning ifp

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
Suggested by: hselasky
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D30522

(cherry picked from commit 801cf532e70f6b0ebfb2d536b235f166b2e6f0a4)

Details

Provenance
bzAuthored on May 28 2021, 12:44 PM
Reviewer
hselasky
Differential Revision
D30522: LinuxKPI: add KPI for netdev_notifier_info returning ifp
Parents
rGa30fe52a12f2: net80211/LinuxKPI: add more radiotap definitions
Branches
Unknown
Tags
Unknown