Commit ec622ab
ATM: iphase, remove sleep-inside-atomic
Stanse found that ia_init_one locks a spinlock and inside of that it
calls ia_start which calls:
* request_irq
* tx_init which does kmalloc(GFP_KERNEL)
Both of them can thus sleep and result in a deadlock. I don't see a
reason to have a per-device spinlock there which is used only there
and inited right before the lock location. So remove it completely.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 5518b29 commit ec622ab
2 files changed
+1
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3156 | 3156 | | |
3157 | 3157 | | |
3158 | 3158 | | |
3159 | | - | |
3160 | 3159 | | |
3161 | 3160 | | |
3162 | 3161 | | |
| |||
3188 | 3187 | | |
3189 | 3188 | | |
3190 | 3189 | | |
3191 | | - | |
3192 | | - | |
3193 | | - | |
3194 | 3190 | | |
3195 | 3191 | | |
3196 | 3192 | | |
3197 | 3193 | | |
3198 | 3194 | | |
3199 | | - | |
3200 | 3195 | | |
3201 | 3196 | | |
3202 | 3197 | | |
3203 | | - | |
3204 | 3198 | | |
3205 | 3199 | | |
3206 | 3200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
| |||
0 commit comments