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, Apr 24, 12:51 AM
Unknown Object (File)
Tue, Apr 8, 6:30 PM
Unknown Object (File)
Sun, Mar 30, 8:46 PM
Unknown Object (File)
Mar 22 2025, 10:01 AM
Unknown Object (File)
Mar 3 2025, 1:57 AM
Unknown Object (File)
Feb 5 2025, 5:10 AM
Unknown Object (File)
Jan 25 2025, 9:39 AM
Unknown Object (File)
Jan 10 2025, 10:13 PM

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 Not Applicable
Unit
Tests Not Applicable