batman-adv: Use net_device_stats from struct net_device
authorTobias Klauser <tklauser@distanz.ch>
Wed, 5 Apr 2017 11:46:31 +0000 (13:46 +0200)
committerSimon Wunderlich <sw@simonwunderlich.de>
Wed, 5 Apr 2017 13:41:24 +0000 (15:41 +0200)
commitab044f8e3eaf84c4cc95d7606fadfdfa006dc8ec
tree9abb2f90924dacb4ad10a079458cc3c7205d8c76
parent5405e19e705909bba1a879174ffe93e241455426
batman-adv: Use net_device_stats from struct net_device

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 <tklauser@distanz.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
net/batman-adv/distributed-arp-table.c
net/batman-adv/soft-interface.c
net/batman-adv/types.h