diff options
author | Eric Dumazet <edumazet@google.com> | 2022-06-08 08:46:33 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-09 21:53:10 -0700 |
commit | 5665f48ef309d0189e97353a294b54af5d4a726c (patch) | |
tree | 7e6780c3883aa7d459f72cb3890dba9b12377f89 /net/unix/af_unix.c | |
parent | 09cca53c1656960c38c04bb12da30f61952ca660 (diff) |
ipvlan: 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_errs & tx_drps.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions