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] [day] [month] [year] [list]
Message-ID: <f9638a40-7927-4456-9b9d-d449c06b1070@web.de>
Date: Sat, 16 Aug 2025 11:25:31 +0200
From: Markus Elfring <Markus.Elfring@....de>
To: Abhijit Gangurde <abhijit.gangurde@....com>, linux-rdma@...r.kernel.org,
 netdev@...r.kernel.org
Cc: linux-doc@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
 Allen Hubbe <allen.hubbe@....com>, Andrew Lunn <andrew+netdev@...n.ch>,
 Brett Creeley <brett.creeley@....com>, Jonathan Corbet <corbet@....net>,
 "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
 Jakub Kicinski <kuba@...nel.org>, Jason Gunthorpe <jgg@...pe.ca>,
 Leon Romanovsky <leon@...nel.org>, Nikhil Agarwal <nikhil.agarwal@....com>,
 Paolo Abeni <pabeni@...hat.com>, Shannon Nelson <shannon.nelson@....com>,
 Shannon Nelson <sln@...main.com>, Simon Horman <horms@...nel.org>
Subject: Re: [PATCH v5 01/14] net: ionic: Create an auxiliary device for rdma
 driver

…
> +++ b/drivers/net/ethernet/pensando/ionic/ionic_aux.c
> @@ -0,0 +1,80 @@
…
> +void ionic_auxbus_unregister(struct ionic_lif *lif)
> +{
> +	mutex_lock(&lif->adev_lock);
> +	if (!lif->ionic_adev)
…
> +out:
> +	mutex_unlock(&lif->adev_lock);
> +}
…

Under which circumstances would you become interested to apply a call
like “scoped_guard(mutex, &lif->adev_lock)”?
https://elixir.bootlin.com/linux/v6.16/source/include/linux/mutex.h#L225

Regards,
Markus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ