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: <20230819044059.833749-1-edumazet@google.com>
Date: Sat, 19 Aug 2023 04:40:56 +0000
From: Eric Dumazet <edumazet@...gle.com>
To: "David S . Miller" <davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>, 
	Paolo Abeni <pabeni@...hat.com>
Cc: "Michael S . Tsirkin" <mst@...hat.com>, Jason Wang <jasowang@...hat.com>, 
	Xuan Zhuo <xuanzhuo@...ux.alibaba.com>, netdev@...r.kernel.org, eric.dumazet@...il.com, 
	Eric Dumazet <edumazet@...gle.com>
Subject: [PATCH net-next 0/3] net: use DEV_STATS_xxx() helpers in virtio_net
 and l2tp_eth

Inspired by another (minor) KCSAN syzbot report.
Both virtio_net and l2tp_eth can use DEV_STATS_xxx() helpers.

Eric Dumazet (3):
  net: add DEV_STATS_READ() helper
  virtio_net: avoid data-races on dev->stats fields
  net: l2tp_eth: use generic dev->stats fields

 drivers/net/macsec.c      |  6 +++---
 drivers/net/virtio_net.c  | 30 +++++++++++++++---------------
 include/linux/netdevice.h |  1 +
 net/l2tp/l2tp_eth.c       | 32 ++++++++++++--------------------
 4 files changed, 31 insertions(+), 38 deletions(-)

-- 
2.42.0.rc1.204.g551eb34607-goog


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ