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)
Fri, Oct 9, 4:50 PM
Unknown Object (File)
Sat, Oct 3, 3:59 AM
Unknown Object (File)
Sat, Oct 3, 3:44 AM
Unknown Object (File)
Sat, Oct 3, 3:25 AM
Unknown Object (File)
Sep 10 2026, 10:49 AM
Unknown Object (File)
Sep 9 2026, 10:57 PM
Unknown Object (File)
Sep 9 2026, 2:09 PM
Unknown Object (File)
Sep 8 2026, 5:14 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