Repository navigation
Commit 9866b5a
Advance next_qdisc in homa_qdisc_destroy
* homa_qdisc_xmit_deferred_tcp keeps a round-robin cursor,
qdev->next_qdisc, that can point at a qdisc's defer_links.
homa_qdisc_destroy unlinked the qdisc without moving the cursor, so
if other qdiscs still had deferred packets the pacer would next use
the destroyed (and soon freed) qdisc.
* Move the cursor past the qdisc before unlinking it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 4bd0275 commit 9866b5a
2 files changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
| 477 | + | |
476 | 478 | | |
477 | 479 | | |
478 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
487 | 515 | | |
488 | 516 | | |
489 | 517 | | |
| |||
0 commit comments