]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix multicast LED blinking and counter
authorAndreas Müller <goo@stapelspeicher.org>
Fri, 12 Dec 2014 11:11:11 +0000 (12:11 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 7 Jan 2015 16:55:06 +0000 (17:55 +0100)
commita4346dd0a57d96e9f7c3d0cfafeda2a5568eb685
tree80e297505a648a29b2e5a10aacdfab2a6474c1b0
parentd9135d9e6aa11beb51b98342efb1a87987269622
mac80211: fix multicast LED blinking and counter

commit d025933e29872cb1fe19fc54d80e4dfa4ee5779c upstream.

As multicast-frames can't be fragmented, "dot11MulticastReceivedFrameCount"
stopped being incremented after the use-after-free fix. Furthermore, the
RX-LED will be triggered by every multicast frame (which wouldn't happen
before) which wouldn't allow the LED to rest at all.

Fixes https://bugzilla.kernel.org/show_bug.cgi?id=89431 which also had the
patch.

Fixes: b8fff407a180 ("mac80211: fix use-after-free in defragmentation")
Signed-off-by: Andreas Müller <goo@stapelspeicher.org>
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
net/mac80211/rx.c