aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/loopback.c')
-rw-r--r--drivers/net/loopback.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index 32eb94ece6c1..e2a06fd996d5 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -107,10 +107,10 @@ static struct rtnl_link_stats64 *loopback_get_stats64(struct net_device *dev,
107 107
108 lb_stats = per_cpu_ptr(dev->lstats, i); 108 lb_stats = per_cpu_ptr(dev->lstats, i);
109 do { 109 do {
110 start = u64_stats_fetch_begin(&lb_stats->syncp); 110 start = u64_stats_fetch_begin_bh(&lb_stats->syncp);
111 tbytes = lb_stats->bytes; 111 tbytes = lb_stats->bytes;
112 tpackets = lb_stats->packets; 112 tpackets = lb_stats->packets;
113 } while (u64_stats_fetch_retry(&lb_stats->syncp, start)); 113 } while (u64_stats_fetch_retry_bh(&lb_stats->syncp, start));
114 bytes += tbytes; 114 bytes += tbytes;
115 packets += tpackets; 115 packets += tpackets;
116 } 116 }