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: <Y+RrrJUZ9TTvFvLg@x130>
Date:   Wed, 8 Feb 2023 19:42:36 -0800
From:   Saeed Mahameed <saeed@...nel.org>
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     "David S. Miller" <davem@...emloft.net>,
        Paolo Abeni <pabeni@...hat.com>,
        Eric Dumazet <edumazet@...gle.com>,
        Jason Gunthorpe <jgg@...dia.com>,
        Saeed Mahameed <saeedm@...dia.com>, linux-rdma@...r.kernel.org,
        Leon Romanovsky <leonro@...dia.com>, netdev@...r.kernel.org
Subject: Re: pull-request: mlx5-next netdev notifier deadlock 2023-02-07

On 08 Feb 19:12, Jakub Kicinski wrote:
>On Tue,  7 Feb 2023 16:56:26 -0800 Saeed Mahameed wrote:
>> @@ -674,6 +675,7 @@ struct mlx5e_resources {
>>  	} hw_objs;
>>  	struct devlink_port dl_port;
>>  	struct net_device *uplink_netdev;
>> +	struct mutex uplink_netdev_lock;
>
>Is this your preferred resolution?
>
>diff --cc include/linux/mlx5/driver.h
>index 91e8160ed087,cc48aa308269..000000000000
>--- a/include/linux/mlx5/driver.h
>+++ b/include/linux/mlx5/driver.h
>@@@ -670,11 -673,11 +671,12 @@@ struct mlx5e_resources
>                u32                        mkey;
>                struct mlx5_sq_bfreg       bfreg;
>        } hw_objs;
>        struct devlink_port dl_port;
>        struct net_device *uplink_netdev;
>+       struct mutex uplink_netdev_lock;
> +      struct mlx5_crypto_dek_priv *dek_priv;

Yes, Perfect, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ