Page MenuHomeFreeBSD

LinuxKPI: 802.11: improve lladdr change to not use ifnet internals
ClosedPublic

Authored by bz on Nov 8 2024, 10:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 10:49 AM
Unknown Object (File)
Wed, Sep 9, 10:57 PM
Unknown Object (File)
Wed, Sep 9, 2:09 PM
Unknown Object (File)
Tue, Sep 8, 5:14 PM
Unknown Object (File)
Tue, Sep 8, 10:56 AM
Unknown Object (File)
Sat, Sep 5, 1:08 PM
Unknown Object (File)
Aug 12 2026, 9:58 AM
Unknown Object (File)
Aug 5 2026, 7:18 AM

Details

Summary

The changes from 4aff4048 were based on net80211 which is still using
if_private.h details. Adjust the code to no longer depend on internal
details of ifnet. We also switch the "check"-functionn from if_init to
if_transmit which we can query. Given we do have a per-vif eventhandler
we could do without that check but would still need to check
if_getflags() for IFF_UP.

Sponsored by: The FreeBSD Foundation
Reported by: jhibbits
Fixes: 4aff4048
MFC after: 3 days

Test Plan

Soon; once my release builds are done

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 60451
Build 57335: arc lint + arc unit