diff options
Diffstat (limited to 'net/openvswitch/vport.c')
-rw-r--r-- | net/openvswitch/vport.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c index 3b4db3220456..42c0f4a0b78c 100644 --- a/net/openvswitch/vport.c +++ b/net/openvswitch/vport.c | |||
@@ -277,9 +277,9 @@ void ovs_vport_get_stats(struct vport *vport, struct ovs_vport_stats *stats) | |||
277 | percpu_stats = per_cpu_ptr(vport->percpu_stats, i); | 277 | percpu_stats = per_cpu_ptr(vport->percpu_stats, i); |
278 | 278 | ||
279 | do { | 279 | do { |
280 | start = u64_stats_fetch_begin_bh(&percpu_stats->syncp); | 280 | start = u64_stats_fetch_begin_irq(&percpu_stats->syncp); |
281 | local_stats = *percpu_stats; | 281 | local_stats = *percpu_stats; |
282 | } while (u64_stats_fetch_retry_bh(&percpu_stats->syncp, start)); | 282 | } while (u64_stats_fetch_retry_irq(&percpu_stats->syncp, start)); |
283 | 283 | ||
284 | stats->rx_bytes += local_stats.rx_bytes; | 284 | stats->rx_bytes += local_stats.rx_bytes; |
285 | stats->rx_packets += local_stats.rx_packets; | 285 | stats->rx_packets += local_stats.rx_packets; |