mac80211: fix multicast LED blinking and counter
authorAndreas Müller <goo@stapelspeicher.org>
Fri, 12 Dec 2014 11:11:11 +0000 (12:11 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 12 Dec 2014 11:11:14 +0000 (12:11 +0100)
commitd025933e29872cb1fe19fc54d80e4dfa4ee5779c
treeebdb6d21d4ba4bed3bb5aa30e6f19648ad671df3
parent7e6225a1604d0c6aa4140289bf5761868ffc9c83
mac80211: fix multicast LED blinking and counter

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.

Cc: stable@vger.kernel.org
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>
net/mac80211/rx.c