]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - net/mac80211/iface.c
mac80211: keep a separate list of monitor interfaces that are up
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Apr 2017 11:28:18 +0000 (13:28 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 18 Apr 2017 09:00:13 +0000 (11:00 +0200)
commitf64331d58045b05e5af581284884d5df9b26c031
tree0e125bb01289e9f2b5a474b095a1a95a7b55ac0d
parent96b08fd6080efdfa8f6125cffc6742a2235d92f1
mac80211: keep a separate list of monitor interfaces that are up

In addition to keeping monitor interfaces on the regular list of
interfaces, keep those that are up and not in cooked mode on a
separate list. This saves having to iterate all interfaces when
delivering to monitor interfaces.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/main.c
net/mac80211/rx.c