lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191108002722.129055-1-edumazet@google.com>
Date:   Thu,  7 Nov 2019 16:27:13 -0800
From:   Eric Dumazet <edumazet@...gle.com>
To:     "David S . Miller" <davem@...emloft.net>
Cc:     netdev <netdev@...r.kernel.org>,
        Eric Dumazet <edumazet@...gle.com>,
        Eric Dumazet <eric.dumazet@...il.com>
Subject: [PATCH net-next 0/9] net: introduce u64_stats_t

KCSAN found a data-race in per-cpu u64 stats accounting.

(The stack traces are included in the 8th patch :
 tun: switch to u64_stats_t)

This patch series first consolidate code in five patches.
Then the last three patches address the data-race resolution.

Eric Dumazet (9):
  net: provide dev_lstats_read() helper
  net: provide dev_lstats_add() helper
  net: nlmon: use standard dev_lstats_add() and dev_lstats_read()
  veth: use standard dev_lstats_add() and dev_lstats_read()
  vsockmon: use standard dev_lstats_add() and dev_lstats_read()
  net: dummy: use standard dev_lstats_add() and dev_lstats_read()
  u64_stats: provide u64_stats_t type
  tun: switch to u64_stats_t
  net: use u64_stats_t in struct pcpu_lstats

 drivers/net/dummy.c            | 36 ++++--------------------
 drivers/net/loopback.c         | 38 +++++++++++++------------
 drivers/net/nlmon.c            | 28 ++-----------------
 drivers/net/tun.c              | 32 ++++++++++-----------
 drivers/net/veth.c             | 43 ++++++++--------------------
 drivers/net/vsockmon.c         | 31 ++-------------------
 include/linux/netdevice.h      | 16 +++++++++--
 include/linux/u64_stats_sync.h | 51 +++++++++++++++++++++++++++++++---
 8 files changed, 118 insertions(+), 157 deletions(-)

-- 
2.24.0.432.g9d3f5f5b63-goog

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ