Re: [PATCH net] iavf: fix deadlock in reset handling

From: Jacob Keller

Date: Fri Feb 06 2026 - 20:01:21 EST




On 2/6/2026 2:04 AM, Petr Oros wrote:
description...

Fixes: 120f28a6f314 ("iavf: get rid of the crit lock")
Signed-off-by: Petr Oros <poros@xxxxxxxxxx>
---

Code changes look correct to me. Description obviously needs to get written, but...

I loaded both the net as of ee9241524b46 ("amd-xgbe: do not select NET_SELFTESTS when INET is disabled") and tested it with and without this fix applied.

Before the fix, changing MTU till timeout after a few seconds with the complaint, after which the reset will happen and MTU will be applied late (the timeout in the wait event prevents a permanent deadlock). With the fix the command completes quickly with no errors and the MTU change applies immediately.

Tested-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>

Additionally, for a version with a proper commit message, please feel free to add:

Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>

Thanks for working on this, Petr!

Regards,
Jake