]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: bridge: add missing counters to ndo_get_stats64 callback
authorHeiner Kallweit <hkallweit1@gmail.com>
Fri, 13 Nov 2020 09:27:27 +0000 (10:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Nov 2020 12:38:47 +0000 (13:38 +0100)
commit3f8fc9bfc8bffaa39c4b764aa43d50e4b4173f1f
tree397b810716de425f3d2cc153f74f4d45080bf20b
parent67dd6d58c0a1b7fa785df614fe4b1eadfd9edcad
net: bridge: add missing counters to ndo_get_stats64 callback

[ Upstream commit 7a30ecc9237681bb125cbd30eee92bef7e86293d ]

In br_forward.c and br_input.c fields dev->stats.tx_dropped and
dev->stats.multicast are populated, but they are ignored in
ndo_get_stats64.

Fixes: 28172739f0a2 ("net: fix 64 bit counters on 32 bit arches")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/58ea9963-77ad-a7cf-8dfd-fc95ab95f606@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bridge/br_device.c