aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/init.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-11-23 09:46:52 -0800
committerDavid S. Miller <davem@davemloft.net>2016-11-27 15:26:15 -0500
commitb9972d2205f696fdb53ee0133aebd2d0a99e1801 (patch)
tree1f978091016d7c8c066a05d0ee6db6d9dbf331c3 /drivers/net/wireless/ath/ath9k/init.c
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff)
downloadlinux-dev-b9972d2205f696fdb53ee0133aebd2d0a99e1801.tar.xz
linux-dev-b9972d2205f696fdb53ee0133aebd2d0a99e1801.zip
mlx4: do not use priv->stats_lock in mlx4_en_auto_moderation()
Per RX ring packets/bytes counters are not protected by global priv->stats_lock. Better not confuse the reader, and use READ_ONCE() to show we read these counters without surrounding synchronization. Interrupt moderation is best effort, and we do not really care of ultra precise counters. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/init.c')
0 files changed, 0 insertions, 0 deletions