1
linux/net/wireless
Johannes Berg f7969969f4 cfg80211: make spurious warnings less likely, configurable
Bob reported that he got warnings in IBSS mode about
the ssid_len being zero on a joined event, but only
when kmemcheck was enabled. This appears to be due
to a race condition between drivers and userspace,
when the driver reports joined but the user in the
meantime decided to leave the IBSS again, the warning
would trigger. This was made more likely by kmemcheck
delaying the code that does the check and sends the
event.

So first, make the warning trigger closer to the
driver, which means it's not locked, but since only
the warning depends on it that's ok.

And secondly, users will not want to have spurious
warnings at all, so make those that are known to be
racy in such a way configurable.

Reported-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-28 14:40:30 -04:00
..
chan.c cfg80211: fix locking for SIWFREQ 2009-08-14 09:13:51 -04:00
core.c cfg80211: check lost scans later, fix bug 2009-08-28 14:40:25 -04:00
core.h cfg80211: make spurious warnings less likely, configurable 2009-08-28 14:40:30 -04:00
debugfs.c
debugfs.h
ibss.c cfg80211: make spurious warnings less likely, configurable 2009-08-28 14:40:30 -04:00
Kconfig cfg80211: make spurious warnings less likely, configurable 2009-08-28 14:40:30 -04:00
lib80211_crypt_ccmp.c
lib80211_crypt_tkip.c
lib80211_crypt_wep.c
lib80211.c
Makefile cfg80211: validate channel settings across interfaces 2009-08-14 09:13:42 -04:00
mlme.c cfg80211: report userspace SME connected event properly 2009-08-20 11:35:57 -04:00
nl80211.c cfg80211: fix locking for SIWFREQ 2009-08-14 09:13:51 -04:00
nl80211.h
radiotap.c
reg.c trivial: remove duplicate "different" from comment 2009-08-14 09:14:02 -04:00
reg.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-08-12 17:44:53 -07:00
scan.c cfg80211: check lost scans later, fix bug 2009-08-28 14:40:25 -04:00
sme.c cfg80211: make spurious warnings less likely, configurable 2009-08-28 14:40:30 -04:00
sysfs.c
sysfs.h
util.c mac80211: Use 3-address format for mesh broadcast frames. 2009-08-14 09:14:00 -04:00
wext-compat.c cfg80211: export cfg80211_wext_siwfreq 2009-08-20 11:33:09 -04:00
wext-compat.h cfg80211: validate channel settings across interfaces 2009-08-14 09:13:42 -04:00
wext-sme.c cfg80211: fix locking for SIWFREQ 2009-08-14 09:13:51 -04:00
wext.c wext: remove extra return on wireless_nlevent_init() 2009-08-04 16:43:20 -04:00