forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commit02400fc
hv_netvsc: use RCU to fix concurrent rx and queue changes
The receive processing may continue to happen while theinternal network device state is in RCU grace period.The internal RNDIS structure is associated with theinternal netvsc_device structure; both have the sameRCU lifetime.Defer freeing all associated parts until after graceperiod.Fixes:0cf7378 ("hv_netvsc: netvsc_teardown_gpadl() split")Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>Signed-off-by: David S. Miller <davem@davemloft.net>1 parent8348e04 commit02400fc
2 files changed
+21
-35
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
90 | 90 |
| |
91 | 91 |
| |
92 | 92 |
| |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
93 | 98 |
| |
94 | 99 |
| |
95 | 100 |
| |
| |||
211 | 216 |
| |
212 | 217 |
| |
213 | 218 |
| |
214 |
| - | |
215 |
| - | |
216 |
| - | |
217 |
| - | |
218 |
| - | |
219 |
| - | |
220 | 219 |
| |
221 | 220 |
| |
222 | 221 |
| |
| |||
231 | 230 |
| |
232 | 231 |
| |
233 | 232 |
| |
234 |
| - | |
235 |
| - | |
236 |
| - | |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 | 233 |
| |
241 | 234 |
| |
242 | 235 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
264 | 264 |
| |
265 | 265 |
| |
266 | 266 |
| |
267 |
| - | |
268 |
| - | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
269 | 270 |
| |
| 271 | + | |
270 | 272 |
| |
271 | 273 |
| |
272 | 274 |
| |
273 |
| - | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
274 | 284 |
| |
275 | 285 |
| |
276 | 286 |
| |
| |||
352 | 362 |
| |
353 | 363 |
| |
354 | 364 |
| |
355 |
| - | |
356 | 365 |
| |
357 | 366 |
| |
358 | 367 |
| |
| |||
372 | 381 |
| |
373 | 382 |
| |
374 | 383 |
| |
375 |
| - | |
| 384 | + | |
376 | 385 |
| |
377 | 386 |
| |
378 | 387 |
| |
| |||
400 | 409 |
| |
401 | 410 |
| |
402 | 411 |
| |
403 |
| - | |
404 | 412 |
| |
405 | 413 |
| |
406 |
| - | |
407 |
| - | |
408 |
| - | |
409 |
| - | |
410 |
| - | |
411 |
| - | |
412 |
| - | |
413 |
| - | |
414 |
| - | |
415 |
| - | |
416 |
| - | |
417 |
| - | |
418 |
| - | |
419 | 414 |
| |
420 | 415 |
| |
421 | 416 |
| |
422 | 417 |
| |
423 | 418 |
| |
424 |
| - | |
425 |
| - | |
| 419 | + | |
426 | 420 |
| |
427 | 421 |
| |
428 | 422 |
| |
429 | 423 |
| |
430 | 424 |
| |
431 |
| - | |
| 425 | + | |
432 | 426 |
| |
433 | 427 |
| |
434 | 428 |
| |
| |||
1357 | 1351 |
| |
1358 | 1352 |
| |
1359 | 1353 |
| |
1360 |
| - | |
1361 | 1354 |
| |
1362 | 1355 |
| |
1363 | 1356 |
| |
|
0 commit comments
Comments
(0)