mbox series

[v2,net-next,0/9] net: adopt u64_stats_t type

Message ID 20220608154640.1235958-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series net: adopt u64_stats_t type | expand

Message

Eric Dumazet June 8, 2022, 3:46 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

While KCSAN has not raised any reports yet, we should address the
potential load/store tearing problem happening with per cpu stats.

This series is not exhaustive, but hopefully a step in the right
direction.

v2: change title in wireguard patch, and fix cover letter title.

Eric Dumazet (9):
  vlan: adopt u64_stats_t
  ipvlan: adopt u64_stats_t
  sit: use dev_sw_netstats_rx_add()
  ip6_tunnel: use dev_sw_netstats_rx_add()
  wireguard: receive: use dev_sw_netstats_rx_add()
  net: adopt u64_stats_t in struct pcpu_sw_netstats
  devlink: adopt u64_stats_t
  drop_monitor: adopt u64_stats_t
  team: adopt u64_stats_t

 drivers/net/ipvlan/ipvlan.h      | 10 ++++-----
 drivers/net/ipvlan/ipvlan_core.c |  6 +++---
 drivers/net/ipvlan/ipvlan_main.c | 18 ++++++++--------
 drivers/net/macsec.c             |  8 +++----
 drivers/net/macvlan.c            | 18 ++++++++--------
 drivers/net/team/team.c          | 26 +++++++++++------------
 drivers/net/usb/usbnet.c         |  8 +++----
 drivers/net/vxlan/vxlan_core.c   |  8 +++----
 drivers/net/wireguard/receive.c  |  9 +-------
 include/linux/if_macvlan.h       |  6 +++---
 include/linux/if_team.h          | 10 ++++-----
 include/linux/if_vlan.h          | 10 ++++-----
 include/linux/netdevice.h        | 16 +++++++-------
 include/net/ip_tunnels.h         |  4 ++--
 net/8021q/vlan_core.c            |  6 +++---
 net/8021q/vlan_dev.c             | 18 ++++++++--------
 net/bridge/br_netlink.c          |  8 +++----
 net/bridge/br_vlan.c             | 36 ++++++++++++++++++--------------
 net/core/dev.c                   | 18 ++++++++--------
 net/core/devlink.c               | 28 ++++++++++++++-----------
 net/core/drop_monitor.c          | 18 ++++++++--------
 net/dsa/slave.c                  |  8 +++----
 net/ipv6/ip6_tunnel.c            |  7 +------
 net/ipv6/sit.c                   |  8 +------
 24 files changed, 151 insertions(+), 161 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 10, 2022, 5:40 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Wed,  8 Jun 2022 08:46:31 -0700 you wrote:
> From: Eric Dumazet <edumazet@google.com>
> 
> While KCSAN has not raised any reports yet, we should address the
> potential load/store tearing problem happening with per cpu stats.
> 
> This series is not exhaustive, but hopefully a step in the right
> direction.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/9] vlan: adopt u64_stats_t
    https://git.kernel.org/netdev/net-next/c/09cca53c1656
  - [v2,net-next,2/9] ipvlan: adopt u64_stats_t
    https://git.kernel.org/netdev/net-next/c/5665f48ef309
  - [v2,net-next,3/9] sit: use dev_sw_netstats_rx_add()
    https://git.kernel.org/netdev/net-next/c/3a960ca7f6e5
  - [v2,net-next,4/9] ip6_tunnel: use dev_sw_netstats_rx_add()
    https://git.kernel.org/netdev/net-next/c/afd2051b1840
  - [v2,net-next,5/9] wireguard: receive: use dev_sw_netstats_rx_add()
    https://git.kernel.org/netdev/net-next/c/eeb15885ca30
  - [v2,net-next,6/9] net: adopt u64_stats_t in struct pcpu_sw_netstats
    https://git.kernel.org/netdev/net-next/c/9962acefbcb9
  - [v2,net-next,7/9] devlink: adopt u64_stats_t
    https://git.kernel.org/netdev/net-next/c/958751e0807d
  - [v2,net-next,8/9] drop_monitor: adopt u64_stats_t
    https://git.kernel.org/netdev/net-next/c/c6cce71e7468
  - [v2,net-next,9/9] team: adopt u64_stats_t
    https://git.kernel.org/netdev/net-next/c/9ec321aba2ea

You are awesome, thank you!