[lkml]   [2022]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: iwlwifi: iwl-dbg: Use del_timer_sync() before freeing
Guenter Roeck <> wrote:

> In Chrome OS, a large number of crashes is observed due to corrupted timer
> lists. Steven Rostedt pointed out that this usually happens when a timer
> is freed while still active, and that the problem is often triggered
> by code calling del_timer() instead of del_timer_sync() just before
> freeing.
> Steven also identified the iwlwifi driver as one of the possible culprits
> since it does exactly that.
> Reported-by: Steven Rostedt <>
> Cc: Steven Rostedt <>
> Cc: Johannes Berg <>
> Cc: Gregory Greenman <>
> Fixes: 60e8abd9d3e91 ("iwlwifi: dbg_ini: add periodic trigger new API support")
> Signed-off-by: Guenter Roeck <>
> Acked-by: Gregory Greenman <>
> Tested-by: Sedat Dilek <> # Linux v5.17.3-rc1 and Debian LLVM-14

Patch applied to wireless.git, thanks.

7635a1ad8d92 iwlwifi: iwl-dbg: Use del_timer_sync() before freeing


 \ /
  Last update: 2022-04-23 08:34    [W:0.070 / U:2.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site