Hi, From: Gregory Etelson <[email protected]> Sent: Sunday, February 9, 2025 3:48 PM To: [email protected] Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Itamar Gozlan Subject: [PATCH] net/mlx5/hws: change error flow on matcher disconnect
From: Itamar Gozlan <[email protected]> Currently, when a firmware (FW) failure occurs during matcher error flow, the system attempts to reconnect the matcher, leading to a segmentation fault. This happens because the matcher is freed but remains in the list. Example scenario: Given matchers M1->M2->M3, if a FW failure occurs: 1. System tries to destroy M1 and fails 2. M1 remains in the list but is freed 3. When destroying M2, it attempts to remove itself and create M1->M3 4. This results in a segmentation fault as M1 is already freed Signed-off-by: Itamar Gozlan <[email protected]> Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

