Commit ccbde4b
char: xillybus: Don't destroy workqueue from work item running on it
Triggered by a kref decrement, destroy_workqueue() may be called from
within a work item for destroying its own workqueue. This illegal
situation is averted by adding a module-global workqueue for exclusive
use of the offending work item. Other work items continue to be queued
on per-device workqueues to ensure performance.
Reported-by: [email protected]
Cc: stable <[email protected]>
Closes: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Eli Billauer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>1 parent 7c626ce commit ccbde4b
1 file changed
+11
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
569 | 570 | | |
570 | 571 | | |
571 | 572 | | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | 573 | | |
577 | 574 | | |
578 | 575 | | |
| |||
627 | 624 | | |
628 | 625 | | |
629 | 626 | | |
630 | | - | |
| 627 | + | |
631 | 628 | | |
632 | 629 | | |
633 | 630 | | |
| |||
2258 | 2255 | | |
2259 | 2256 | | |
2260 | 2257 | | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | 2264 | | |
2264 | 2265 | | |
2265 | 2266 | | |
2266 | 2267 | | |
2267 | 2268 | | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
2268 | 2272 | | |
2269 | 2273 | | |
2270 | 2274 | | |
2271 | 2275 | | |
2272 | 2276 | | |
| 2277 | + | |
| 2278 | + | |
2273 | 2279 | | |
2274 | 2280 | | |
2275 | 2281 | | |
| |||
0 commit comments