]> git.baikalelectronics.ru Git - kernel.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)
commitdc40d74c77e0167e03a88c1968d2eeb6958387e5
tree45228e888bd76a5f1251c55ea28377ddedfe2914
parent4a09b3762456462adab381586bc2c7ffce8fdf69
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