summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorVlad Dogaru <vdogaru@nvidia.com>2025-06-10 18:15:09 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-11 14:41:09 -0700
commita002602676cdae0c9996adb75b9310559b718a93 (patch)
treece3326f42c763cda413b3d62cf3279d77be5aa62 /net/unix/af_unix.c
parent8ec40e3f1f72bf8f8accf18020d487caa99f46a4 (diff)
net/mlx5: HWS, Init mutex on the correct path
The newly introduced mutex is only used for reformat actions, but it was initialized for modify header instead. The struct that contains the mutex is zero-initialized and an all-zero mutex is valid, so the issue only shows up with CONFIG_DEBUG_MUTEXES. Fixes: b206d9ec19df ("net/mlx5: HWS, register reformat actions with fw") Signed-off-by: Vlad Dogaru <vdogaru@nvidia.com> Reviewed-by: Yevgeny Kliteynik <kliteyn@nvidia.com> Signed-off-by: Mark Bloch <mbloch@nvidia.com> Link: https://patch.msgid.link/20250610151514.1094735-5-mbloch@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