diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-08 08:46:32 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-09 21:53:09 -0700 |
commit | 09cca53c1656960c38c04bb12da30f61952ca660 (patch) | |
tree | a58ff2dad4ed05a59dce37b412ac38aaaa459d63 /net/ethernet | |
parent | d62607c3fe45911b2331fac073355a8c914bbde2 (diff) |
vlan: adopt u64_stats_t
As explained in commit 316580b69d0a ("u64_stats: provide u64_stats_t type")
we should use u64_stats_t and related accessors to avoid load/store tearing.
Add READ_ONCE() when reading rx_errors & tx_dropped.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ethernet')
0 files changed, 0 insertions, 0 deletions