linux/net/wireless
Johannes Berg cb150b9d23 cfg80211/wext: fix message ordering
Since cfg80211 frequently takes actions from its netdev notifier
call, wireless extensions messages could still be ordered badly
since the wext netdev notifier, since wext is built into the
kernel, runs before the cfg80211 netdev notifier. For example,
the following can happen:

5: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN group default
    link/ether 02:00:00:00:01:00 brd ff:ff:ff:ff:ff:ff
5: wlan1: <BROADCAST,MULTICAST,UP>
    link/ether

when setting the interface down causes the wext message.

To also fix this, export the wireless_nlevent_flush() function
and also call it from the cfg80211 notifier.

Cc: stable@vger.kernel.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-01-29 17:13:43 +01:00
..
.gitignore
ap.c
chan.c
core.c cfg80211/wext: fix message ordering 2016-01-29 17:13:43 +01:00
core.h cfg80211: Remove unused cfg80211_can_use_iftype_chan() 2015-12-04 14:43:32 +01:00
db.txt
debugfs.c
debugfs.h
ethtool.c
genregdb.awk
ibss.c
Kconfig cfg80211: reg: make CRDA support optional 2015-10-16 09:15:39 +02:00
lib80211_crypt_ccmp.c lib80211: ratelimit key index mismatch 2015-12-04 14:43:32 +01:00
lib80211_crypt_tkip.c lib80211: ratelimit key index mismatch 2015-12-04 14:43:32 +01:00
lib80211_crypt_wep.c
lib80211.c
Makefile
mesh.c
mlme.c
nl80211.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-17 22:08:28 -05:00
nl80211.h
ocb.c cfg80211: ocb: Fix null pointer deref if join_ocb is unimplemented 2015-12-04 14:43:32 +01:00
radiotap.c
rdev-ops.h cfg80211: Add support for aborting an ongoing scan 2015-12-04 14:43:32 +01:00
reg.c regulatory: fix world regulatory domain data 2016-01-14 11:10:13 +01:00
reg.h
regdb.h
scan.c cfg80211: Add multiple scan plans for scheduled scan 2015-10-13 10:35:26 +02:00
sme.c
sysfs.c
sysfs.h
trace.c
trace.h cfg80211: Add support for aborting an ongoing scan 2015-12-04 14:43:32 +01:00
util.c cfg80211: Remove unused cfg80211_can_use_iftype_chan() 2015-12-04 14:43:32 +01:00
wext-compat.c
wext-compat.h
wext-core.c cfg80211/wext: fix message ordering 2016-01-29 17:13:43 +01:00
wext-priv.c
wext-proc.c
wext-sme.c
wext-spy.c