diff options
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index b063050b63e2..f2a08477e0f5 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c | |||
@@ -136,9 +136,9 @@ static struct rtnl_link_stats64 *br_get_stats64(struct net_device *dev, | |||
136 | const struct pcpu_sw_netstats *bstats | 136 | const struct pcpu_sw_netstats *bstats |
137 | = per_cpu_ptr(br->stats, cpu); | 137 | = per_cpu_ptr(br->stats, cpu); |
138 | do { | 138 | do { |
139 | start = u64_stats_fetch_begin_bh(&bstats->syncp); | 139 | start = u64_stats_fetch_begin_irq(&bstats->syncp); |
140 | memcpy(&tmp, bstats, sizeof(tmp)); | 140 | memcpy(&tmp, bstats, sizeof(tmp)); |
141 | } while (u64_stats_fetch_retry_bh(&bstats->syncp, start)); | 141 | } while (u64_stats_fetch_retry_irq(&bstats->syncp, start)); |
142 | sum.tx_bytes += tmp.tx_bytes; | 142 | sum.tx_bytes += tmp.tx_bytes; |
143 | sum.tx_packets += tmp.tx_packets; | 143 | sum.tx_packets += tmp.tx_packets; |
144 | sum.rx_bytes += tmp.rx_bytes; | 144 | sum.rx_bytes += tmp.rx_bytes; |