diff options
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r-- | net/8021q/vlan_dev.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index c6456cb842fa..7865a4ce5250 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c | |||
@@ -803,11 +803,9 @@ static u32 vlan_ethtool_get_flags(struct net_device *dev) | |||
803 | return dev_ethtool_get_flags(vlan->real_dev); | 803 | return dev_ethtool_get_flags(vlan->real_dev); |
804 | } | 804 | } |
805 | 805 | ||
806 | static struct rtnl_link_stats64 *vlan_dev_get_stats64(struct net_device *dev) | 806 | static struct rtnl_link_stats64 *vlan_dev_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats) |
807 | { | 807 | { |
808 | struct rtnl_link_stats64 *stats = &dev->stats64; | 808 | dev_txq_stats_fold(dev, (struct net_device_stats *)stats); |
809 | |||
810 | dev_txq_stats_fold(dev, &dev->stats); | ||
811 | 809 | ||
812 | if (vlan_dev_info(dev)->vlan_rx_stats) { | 810 | if (vlan_dev_info(dev)->vlan_rx_stats) { |
813 | struct vlan_rx_stats *p, accum = {0}; | 811 | struct vlan_rx_stats *p, accum = {0}; |