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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHmME9q4uSKxtEnRmcM2h2GGSBcq9Hu_9tk3EX2_EVGFXr6KnQ@mail.gmail.com>
Date: Mon, 20 Nov 2023 01:11:04 +0100
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: patchwork-bot+netdevbpf@...nel.org
Cc: Eric Dumazet <edumazet@...gle.com>, davem@...emloft.net, kuba@...nel.org, 
	pabeni@...hat.com, netdev@...r.kernel.org, eric.dumazet@...il.com, 
	syzkaller@...glegroups.com, liuhangbin@...il.com
Subject: Re: [PATCH v2 net] wireguard: use DEV_STATS_INC()

Hi,

On Sun, Nov 19, 2023 at 8:50 PM <patchwork-bot+netdevbpf@...nel.org> wrote:
>
> Hello:
>
> This patch was applied to netdev/net.git (main)
> by David S. Miller <davem@...emloft.net>:
>
> On Fri, 17 Nov 2023 14:17:33 +0000 you wrote:
> > wg_xmit() can be called concurrently, KCSAN reported [1]
> > some device stats updates can be lost.
> >
> > Use DEV_STATS_INC() for this unlikely case.
> >
> > [1]
> > BUG: KCSAN: data-race in wg_xmit / wg_xmit
> >
> > [...]
>
> Here is the summary with links:
>   - [v2,net] wireguard: use DEV_STATS_INC()
>     https://git.kernel.org/netdev/net/c/93da8d75a665
>
> You are awesome, thank you!

I thought that, given my concerns, if this was to be committed, at
least Eric (or you?) would expand on the rationale in the context of
my concerns while (or before) doing so, rather than just applying this
without further discussion. As I mentioned, this is fine with me if
you feel strongly about it, but I would appreciate some expanded
explanation, just for my own understanding of the matter.

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ