diff options
Diffstat (limited to 'drivers/net/ifb.c')
-rw-r--r-- | drivers/net/ifb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ifb.c b/drivers/net/ifb.c index d7b2e947184b..46a7790be004 100644 --- a/drivers/net/ifb.c +++ b/drivers/net/ifb.c | |||
@@ -136,18 +136,18 @@ static struct rtnl_link_stats64 *ifb_stats64(struct net_device *dev, | |||
136 | unsigned int start; | 136 | unsigned int start; |
137 | 137 | ||
138 | do { | 138 | do { |
139 | start = u64_stats_fetch_begin_bh(&dp->rsync); | 139 | start = u64_stats_fetch_begin_irq(&dp->rsync); |
140 | stats->rx_packets = dp->rx_packets; | 140 | stats->rx_packets = dp->rx_packets; |
141 | stats->rx_bytes = dp->rx_bytes; | 141 | stats->rx_bytes = dp->rx_bytes; |
142 | } while (u64_stats_fetch_retry_bh(&dp->rsync, start)); | 142 | } while (u64_stats_fetch_retry_irq(&dp->rsync, start)); |
143 | 143 | ||
144 | do { | 144 | do { |
145 | start = u64_stats_fetch_begin_bh(&dp->tsync); | 145 | start = u64_stats_fetch_begin_irq(&dp->tsync); |
146 | 146 | ||
147 | stats->tx_packets = dp->tx_packets; | 147 | stats->tx_packets = dp->tx_packets; |
148 | stats->tx_bytes = dp->tx_bytes; | 148 | stats->tx_bytes = dp->tx_bytes; |
149 | 149 | ||
150 | } while (u64_stats_fetch_retry_bh(&dp->tsync, start)); | 150 | } while (u64_stats_fetch_retry_irq(&dp->tsync, start)); |
151 | 151 | ||
152 | stats->rx_dropped = dev->stats.rx_dropped; | 152 | stats->rx_dropped = dev->stats.rx_dropped; |
153 | stats->tx_dropped = dev->stats.tx_dropped; | 153 | stats->tx_dropped = dev->stats.tx_dropped; |