]> bbs.cooldavid.org Git - net-next-2.6.git/commit
mac80211: fix rx monitor filter refcounters
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 2 Oct 2010 11:17:07 +0000 (13:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:35:21 +0000 (13:35 -0400)
commit85416a4fa193754ef36e12b20bb02fe661cb7f17
tree45228e888bd76a5f1251c55ea28377ddedfe2914
parent5a254ffe3ffdfa84fe076009bd8e88da412180d2
mac80211: fix rx monitor filter refcounters

This patch fixes an refcounting bug. Previously it
was possible to corrupt the per-device recv. filter
and monitor management counters when:
iw dev wlanX set monitor [new flags]
was issued on an active monitor interface.

Acked-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/iface.c