On Mittwoch, 5. April 2017 13:46:31 CEST Tobias Klauser wrote:
Instead of using a private copy of struct net_device_stats in struct batadv_priv, use stats from struct net_device.
Signed-off-by: Tobias Klauser email@example.com
net/batman-adv/distributed-arp-table.c | 9 +++++---- net/batman-adv/soft-interface.c | 2 +- net/batman-adv/types.h | 2 -- 3 files changed, 6 insertions(+), 7 deletions(-)
Nice find. I had to look up when the code was introduced and when the common netdev stats member was added. Interestingly, both were from 2007 :)
Applied in ab044f8e3eaf84c4cc95d7606fadfdfa006dc8ec