Page MenuHomeFreeBSD

net80211: refactor the if_input call into ieee80211_vap_deliver_data()
ClosedPublic

Authored by adrian on May 18 2025, 4:19 AM.
Referenced Files
Unknown Object (File)
Sun, Nov 30, 3:48 AM
Unknown Object (File)
Wed, Nov 26, 9:53 PM
Unknown Object (File)
Nov 17 2025, 2:03 PM
Unknown Object (File)
Nov 14 2025, 2:39 AM
Unknown Object (File)
Nov 7 2025, 1:35 AM
Unknown Object (File)
Nov 4 2025, 11:58 AM
Unknown Object (File)
Nov 2 2025, 9:42 AM
Unknown Object (File)
Oct 30 2025, 10:27 AM

Details

Summary

Refactor the two places where NET_EPOCH_ENTER; if_input; NET_EPOCH_EXIT
are called into a single spot in ieee80211_freebsd.c.

This removes both if_input references and puts all the NET_EPOCH stuff
into ieee80211_freebsd.c.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 64256
Build 61140: arc lint + arc unit

Event Timeline

bz added a subscriber: bz.

If you remove the local variable then this is fine (it's also fine this way). I may not see this again before Thu so please go ahead.

sys/net80211/ieee80211_freebsd.c
1238

Don't need that if you pass vap->iv_ifp to if_input

This revision is now accepted and ready to land.May 18 2025, 7:55 PM
This revision now requires review to proceed.May 19 2025, 4:00 AM
This revision is now accepted and ready to land.May 24 2025, 11:20 PM