OpenCloudOS-Kernel/drivers/net/ipvlan
Eric Dumazet 5665f48ef3 ipvlan: adopt u64_stats_t
As explained in commit 316580b69d ("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>
2022-06-09 21:53:10 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ipvlan.h ipvlan: adopt u64_stats_t 2022-06-09 21:53:10 -07:00
ipvlan_core.c ipvlan: adopt u64_stats_t 2022-06-09 21:53:10 -07:00
ipvlan_l3s.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ipvlan_main.c ipvlan: adopt u64_stats_t 2022-06-09 21:53:10 -07:00
ipvtap.c net: ipvtap: fix template string argument of device_create() call 2021-10-16 08:51:22 +01:00