]> 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)
committerZefan Li <lizefan@huawei.com>
Tue, 14 Apr 2015 09:33:51 +0000 (17:33 +0800)
commitb26c83df4ea0b42d394db241c4f775be025171ba
tree4736c7ae718c7945a0174861b21f65fce9aea6f1
parenta1a431db8681724ff5bfe8b413ddb57b3c948959
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: Zefan Li <lizefan@huawei.com>
net/mac80211/rx.c