Commit 5f94b08
selftests: mptcp: join: check removing ID 0 endpoint
Removing the endpoint linked to the initial subflow should trigger a
RM_ADDR for the right ID, and the removal of the subflow. That's what is
now being verified in the "delete and re-add" test.
Note that removing the initial subflow will not decrement the 'subflows'
counters, which corresponds to the *additional* subflows. On the other
hand, when the same endpoint is re-added, it will increment this
counter, as it will be seen as an additional subflow this time.
The 'Fixes' tag here below is the same as the one from the previous
commit: this patch here is not fixing anything wrong in the selftests,
but it validates the previous fix for an issue introduced by this commit
ID.
Fixes: 3ad14f5 ("mptcp: more accurate MPC endpoint tracking")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent 87b5896 commit 5f94b08
1 file changed
Lines changed: 18 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3572 | 3572 | | |
3573 | 3573 | | |
3574 | 3574 | | |
3575 | | - | |
3576 | | - | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
3577 | 3578 | | |
3578 | 3579 | | |
3579 | 3580 | | |
| |||
3582 | 3583 | | |
3583 | 3584 | | |
3584 | 3585 | | |
3585 | | - | |
| 3586 | + | |
3586 | 3587 | | |
3587 | 3588 | | |
3588 | 3589 | | |
3589 | 3590 | | |
3590 | | - | |
| 3591 | + | |
3591 | 3592 | | |
3592 | 3593 | | |
3593 | 3594 | | |
3594 | 3595 | | |
3595 | | - | |
| 3596 | + | |
3596 | 3597 | | |
3597 | 3598 | | |
3598 | 3599 | | |
| |||
3607 | 3608 | | |
3608 | 3609 | | |
3609 | 3610 | | |
| 3611 | + | |
| 3612 | + | |
| 3613 | + | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
| 3618 | + | |
| 3619 | + | |
| 3620 | + | |
3610 | 3621 | | |
3611 | 3622 | | |
3612 | | - | |
3613 | | - | |
| 3623 | + | |
| 3624 | + | |
3614 | 3625 | | |
3615 | 3626 | | |
3616 | 3627 | | |
| |||
0 commit comments