Bluetooth: Cancel the Sniff timer
[platform/kernel/linux-starfive.git] / drivers / net / macsec.c
index c5cd455..9663050 100644 (file)
@@ -3657,9 +3657,9 @@ static void macsec_get_stats64(struct net_device *dev,
 
        dev_fetch_sw_netstats(s, dev->tstats);
 
-       s->rx_dropped = atomic_long_read(&dev->stats.__rx_dropped);
-       s->tx_dropped = atomic_long_read(&dev->stats.__tx_dropped);
-       s->rx_errors = atomic_long_read(&dev->stats.__rx_errors);
+       s->rx_dropped = DEV_STATS_READ(dev, rx_dropped);
+       s->tx_dropped = DEV_STATS_READ(dev, tx_dropped);
+       s->rx_errors = DEV_STATS_READ(dev, rx_errors);
 }
 
 static int macsec_get_iflink(const struct net_device *dev)