Re: pull-request: mlx5-next netdev notifier deadlock 2023-02-07

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux