Commit 2ef9e3a
selftests: mptcp: check subflow errors in close events
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>1 parent dccf461 commit 2ef9e3a
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3847 | 3847 | | |
3848 | 3848 | | |
3849 | 3849 | | |
3850 | | - | |
| 3850 | + | |
3851 | 3851 | | |
3852 | 3852 | | |
3853 | 3853 | | |
3854 | 3854 | | |
3855 | 3855 | | |
| 3856 | + | |
| 3857 | + | |
3856 | 3858 | | |
3857 | 3859 | | |
3858 | 3860 | | |
| 3861 | + | |
3859 | 3862 | | |
3860 | 3863 | | |
| 3864 | + | |
| 3865 | + | |
| 3866 | + | |
| 3867 | + | |
3861 | 3868 | | |
3862 | 3869 | | |
3863 | 3870 | | |
3864 | | - | |
| 3871 | + | |
3865 | 3872 | | |
3866 | 3873 | | |
3867 | 3874 | | |
| |||
3873 | 3880 | | |
3874 | 3881 | | |
3875 | 3882 | | |
| 3883 | + | |
| 3884 | + | |
| 3885 | + | |
| 3886 | + | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
3876 | 3893 | | |
3877 | 3894 | | |
3878 | 3895 | | |
| |||
4131 | 4148 | | |
4132 | 4149 | | |
4133 | 4150 | | |
4134 | | - | |
| 4151 | + | |
4135 | 4152 | | |
4136 | 4153 | | |
4137 | 4154 | | |
| |||
0 commit comments