Commit e73aab3
selftests: mptcp: check subflow errors in close events
commit 2ef9e3a upstream.
This validates the previous commit: subflow closed events should contain
an error field when a subflow got closed with an error, e.g. reset or
timeout.
For this test, the chk_evt_nr helper has been extended to check
attributes in the matched events.
In this test, the 2 subflow closed events should have an error.
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: 15cc104 ("mptcp: deliver ssk errors to msk")
Cc: stable@vger.kernel.org
Reviewed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20260127-net-mptcp-dup-nl-events-v1-4-7f71e1bc4feb@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 8d4ccc1 commit e73aab3
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3692 | 3692 | | |
3693 | 3693 | | |
3694 | 3694 | | |
3695 | | - | |
| 3695 | + | |
3696 | 3696 | | |
3697 | 3697 | | |
3698 | 3698 | | |
3699 | 3699 | | |
3700 | 3700 | | |
| 3701 | + | |
| 3702 | + | |
3701 | 3703 | | |
3702 | 3704 | | |
3703 | 3705 | | |
| 3706 | + | |
3704 | 3707 | | |
3705 | 3708 | | |
| 3709 | + | |
| 3710 | + | |
| 3711 | + | |
| 3712 | + | |
3706 | 3713 | | |
3707 | 3714 | | |
3708 | 3715 | | |
3709 | | - | |
| 3716 | + | |
3710 | 3717 | | |
3711 | 3718 | | |
3712 | 3719 | | |
| |||
3718 | 3725 | | |
3719 | 3726 | | |
3720 | 3727 | | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
| 3732 | + | |
| 3733 | + | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
| 3737 | + | |
3721 | 3738 | | |
3722 | 3739 | | |
3723 | 3740 | | |
| |||
3976 | 3993 | | |
3977 | 3994 | | |
3978 | 3995 | | |
3979 | | - | |
| 3996 | + | |
3980 | 3997 | | |
3981 | 3998 | | |
3982 | 3999 | | |
| |||
0 commit comments