[PATCH 1/3] wpa_supplicant: prevent work removal recursion

Jouni Malinen j at w1.fi
Thu Mar 19 12:29:10 PDT 2026


On Wed, Feb 18, 2026 at 11:26:05AM +0100, Benjamin Berg wrote:
> The DPP deinit code will try to clean up the work when it is already
> started. In the interest of code-reuse, this code will recursively
> ensure that the work item is removed.
> 
> Guard against this type of recursion by unlinking the radio work from
> the list before calling the callback with deinit set to 1. In the same
> way, prevent a call to radio_work_done during removal to be a problem.

Thanks, all three patches applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list