summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorCosmin Ratiu <cratiu@nvidia.com>2025-11-16 22:45:36 +0200
committerJakub Kicinski <kuba@kernel.org>2025-11-19 20:32:27 -0800
commit3fee828789b1cf294a8fc83ad8a37f644c174fae (patch)
treee1cb8f8681823d40fcb55bc3b0ac4e10dc027f39 /net/unix/af_unix.c
parentb6b03097f9826db72aeb3f751774c5e9edd9a5b3 (diff)
net/mlx5: Move the esw mode notifier chain outside the devlink lock
The esw mode change notifier chain is initialized/cleaned up in mlx5_init_one() / mlx5_uninit_one() with the devlink lock held. Move the notifier head from the eswitch struct into mlx5_priv directly, and initialize it outside the critical section. This will allow notifier registration to happen earlier in the init procedure in subsequent patches. Signed-off-by: Cosmin Ratiu <cratiu@nvidia.com> Reviewed-by: Carolina Jubran <cjubran@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Link: https://patch.msgid.link/1763325940-1231508-3-git-send-email-tariqt@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions