Files
linux/net/wireless
Johannes Berg 289813a71e nl80211: fix another nl80211_fam.attrbuf race
commit c319d50bfc upstream.

This is similar to the race Linus had reported, but in this case
it's an older bug: nl80211_prepare_wdev_dump() uses the wiphy
index in cb->args[0] as it is and thus parses the message over
and over again instead of just once because 0 is the first valid
wiphy index. Similar code in nl80211_testmode_dump() correctly
offsets the wiphy_index by 1, do that here as well.

Reported-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-20 08:43:04 -07:00
..
2013-08-20 08:43:03 -07:00
2012-11-16 14:29:09 -05:00
2012-10-18 10:53:37 +02:00
2013-03-06 16:36:11 +01:00
2012-10-18 10:53:37 +02:00
2013-05-16 22:38:03 +02:00
2012-12-07 11:58:26 +01:00