Commit 401da6a
e100: Fix the TX workqueue race
Nothing stops the workqueue being left to run in parallel with close or a
few other operations. This causes double unmaps and the like.
See kerneloops.org #1041230 for an example
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 7ce97d4 commit 401da6a
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
2265 | 2266 | | |
2266 | 2267 | | |
2267 | 2268 | | |
2268 | | - | |
2269 | | - | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
2270 | 2276 | | |
2271 | 2277 | | |
2272 | 2278 | | |
| |||
0 commit comments