[Jaunty] SRU modprobe -r iwl3945 causes total system freeze

Tim Gardner tim.gardner at canonical.com
Sun Jul 5 21:09:58 UTC 2009


Stefan Bader wrote:
> SRU Justification:
> 
> Impact: Removing the iwl3945 module can cause a hard lockup of the
> system as there is a race condition which might get the rfkill_poll
> workqueue restarted/running after the module code has been unloaded.
> 
> Fix: Two patches from upstream, the first moving the call that restarts
> the workqueue on the way down to be executed before stopping the
> workqueue. The second patch makes the call stopping the workqueue wait
> for any running worker.
> 
> Testcase: Removing and loading the module in a loop (has been verified
> to be working after the patches being applied).
> 
> 

ACK

-- 
Tim Gardner tim.gardner at canonical.com




More information about the kernel-team mailing list