]> git.baikalelectronics.ru Git - kernel.git/commit
net: adopt u64_stats_t in struct pcpu_sw_netstats
authorEric Dumazet <edumazet@google.com>
Wed, 8 Jun 2022 15:46:37 +0000 (08:46 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:53:11 +0000 (21:53 -0700)
commit46f838f748424313f2c5269090bafc06f1b3fbb8
treee9ebc87370b8817868a3fadbdfe1c1073709070c
parent1a67a4318035269dbec45e462654d2361b194f53
net: adopt u64_stats_t in struct pcpu_sw_netstats

As explained in commit 6e4d7df7bad9 ("u64_stats: provide u64_stats_t type")
we should use u64_stats_t and related accessors to avoid load/store tearing.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/macsec.c
drivers/net/usb/usbnet.c
drivers/net/vxlan/vxlan_core.c
include/linux/netdevice.h
include/net/ip_tunnels.h
net/bridge/br_netlink.c
net/bridge/br_vlan.c
net/core/dev.c
net/dsa/slave.c