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
F97648225: D30522.diff
Mon, Sep 30, 2:07 PM
F97578077: D30522.diff
Mon, Sep 30, 4:14 AM
Unknown Object (File)
Sun, Sep 29, 7:03 PM
Unknown Object (File)
Tue, Sep 24, 4:49 PM
Unknown Object (File)
Fri, Sep 13, 6:35 AM
Unknown Object (File)
Mon, Sep 2, 1:32 PM
Unknown Object (File)
Mon, Sep 2, 1:32 PM
Unknown Object (File)
Mon, Sep 2, 1:32 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