Files
linux/net
Johannes Berg 001632030b cfg80211: don't get expired BSSes
commit ccb6c1360f upstream.

When kernel-internal users use cfg80211_get_bss()
to get a reference to a BSS struct, they may end
up getting one that would have been removed from
the list if there had been any userspace access
to the list. This leads to inconsistencies and
problems.

Fix it by making cfg80211_get_bss() ignore BSSes
that cfg80211_bss_expire() would remove.

Fixes http://bugzilla.intellinuxwireless.org/show_bug.cgi?id=2180

Reported-by: Jiajia Zheng <jiajia.zheng@intel.com>
Tested-by: Jiajia Zheng <jiajia.zheng@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 10:20:43 -07:00
..
2010-02-09 04:50:56 -08:00
2009-09-26 20:16:15 -07:00
2009-11-06 00:50:39 -08:00
2009-09-02 01:03:53 -07:00
2009-09-30 16:41:34 -07:00
2010-02-09 04:50:56 -08:00
2009-10-11 23:03:47 -07:00
2009-07-12 12:22:34 -07:00
2009-09-02 01:03:53 -07:00