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: <20230531232336.3dffb14b@kernel.org>
Date: Wed, 31 May 2023 23:23:36 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
 netdev@...r.kernel.org, Joshua Hay <joshua.a.hay@...el.com>,
 pavan.kumar.linga@...el.com, emil.s.tantilov@...el.com,
 jesse.brandeburg@...el.com, sridhar.samudrala@...el.com,
 shiraz.saleem@...el.com, sindhu.devale@...el.com, willemb@...gle.com,
 decot@...gle.com, andrew@...n.ch, leon@...nel.org, mst@...hat.com,
 simon.horman@...igine.com, shannon.nelson@....com,
 stephen@...workplumber.org, linux-doc@...r.kernel.org, Alan Brady
 <alan.brady@...el.com>, Madhu Chittim <madhu.chittim@...el.com>, Phani
 Burra <phani.r.burra@...el.com>, Krishneil Singh
 <krishneil.k.singh@...el.com>
Subject: Re: [PATCH net-next 15/15] idpf: configure SRIOV and add other
 ndo_ops

On Tue, 30 May 2023 16:45:01 -0700 Tony Nguyen wrote:
> +	struct idpf_vport *vport = idpf_netdev_to_vport(netdev);
> +
> +	if (!vport)
> +		return;
> +
> +	*stats = vport->netstats;

How is this atomic vs the update path.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ