Commit 3bcce48
IPoIB: change init sequence ordering
In preparation for using per device work queues, we need to move the
start of the neighbor thread task to after ipoib_ib_dev_init and move
the destruction of the neighbor task to before ipoib_ib_dev_cleanup.
Otherwise we will end up freeing our workqueue with work possibly
still on it.
Signed-off-by: Doug Ledford <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>1 parent e5d1dcf commit 3bcce48
1 file changed
+17
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1262 | 1262 | | |
1263 | 1263 | | |
1264 | 1264 | | |
1265 | | - | |
1266 | | - | |
1267 | 1265 | | |
1268 | 1266 | | |
1269 | 1267 | | |
1270 | 1268 | | |
1271 | 1269 | | |
1272 | 1270 | | |
1273 | | - | |
| 1271 | + | |
1274 | 1272 | | |
1275 | 1273 | | |
1276 | 1274 | | |
| |||
1285 | 1283 | | |
1286 | 1284 | | |
1287 | 1285 | | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
1288 | 1293 | | |
1289 | 1294 | | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1290 | 1298 | | |
1291 | 1299 | | |
1292 | 1300 | | |
1293 | 1301 | | |
1294 | 1302 | | |
1295 | 1303 | | |
1296 | | - | |
1297 | | - | |
1298 | 1304 | | |
1299 | 1305 | | |
1300 | 1306 | | |
| |||
1317 | 1323 | | |
1318 | 1324 | | |
1319 | 1325 | | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1320 | 1332 | | |
1321 | 1333 | | |
1322 | 1334 | | |
1323 | 1335 | | |
1324 | 1336 | | |
1325 | 1337 | | |
1326 | 1338 | | |
1327 | | - | |
1328 | | - | |
1329 | 1339 | | |
1330 | 1340 | | |
1331 | 1341 | | |
| |||
0 commit comments