]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mac80211: fix dropped counter in multiqueue RX
authorJohannes Berg <johannes.berg@intel.com>
Thu, 1 Jun 2017 19:26:03 +0000 (21:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Jun 2017 05:06:16 +0000 (07:06 +0200)
commit1e11f875628c6ed223bf878a041df9c3643f2fbb
tree49308b227efc043e8119387df78970594cb1fb02
parent4d3f95fc26d667c9016c30949aadd0211f750309
mac80211: fix dropped counter in multiqueue RX

commit e165bc02a02c70e40d5c811c705ba269aeca0497 upstream.

In the commit enabling per-CPU station statistics, I inadvertedly
copy-pasted some code to update rx_packets and forgot to change it
to update rx_dropped_misc. Fix that.

This addresses https://bugzilla.kernel.org/show_bug.cgi?id=195953.

Fixes: c9c5962b56c1 ("mac80211: enable collecting station statistics per-CPU")
Reported-by: Petru-Florin Mihancea <petrum@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/sta_info.c