summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/soft-interface.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-02-20 08:59:16 +0100
committerJohannes Berg <johannes.berg@intel.com>2017-02-27 14:00:26 +0100
commit0328edc77d4f35014b35f32b46be0a7e16aae74f (patch)
tree09806f42a07519776b2a131efcc2604ed2f69566 /net/batman-adv/soft-interface.c
parentl2tp: avoid use-after-free caused by l2tp_ip_backlog_recv (diff)
downloadlinux-0328edc77d4f35014b35f32b46be0a7e16aae74f.tar.xz
linux-0328edc77d4f35014b35f32b46be0a7e16aae74f.zip
mac80211: fix packet statistics for fast-RX
When adding per-CPU statistics, which added statistics back to mac80211 for the fast-RX path, I evidently forgot to add the "stats->packets++" line. The reason for that is likely that I didn't see it since it's done in defragmentation for the regular RX path. Add the missing line to properly count received packets in the fast-RX case. Fixes: c9c5962b56c1 ("mac80211: enable collecting station statistics per-CPU") Reported-by: Oren Givon <oren.givon@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/batman-adv/soft-interface.c')
0 files changed, 0 insertions, 0 deletions