diff options
| author | Eric Dumazet <[email protected]> | 2022-06-08 15:46:32 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-06-10 04:53:09 +0000 |
| commit | 09cca53c1656960c38c04bb12da30f61952ca660 (patch) | |
| tree | a58ff2dad4ed05a59dce37b412ac38aaaa459d63 /drivers/net/ipvlan/ipvlan_main.c | |
| parent | net: rename reference+tracking helpers (diff) | |
| download | kernel-09cca53c1656960c38c04bb12da30f61952ca660.tar.gz kernel-09cca53c1656960c38c04bb12da30f61952ca660.zip | |
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 <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan_main.c')
0 files changed, 0 insertions, 0 deletions
