diff options
| author | Matthieu Baerts (NGI0) <[email protected]> | 2024-08-28 06:14:34 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-08-29 08:39:50 +0000 |
| commit | d397d7246c11ca36c33c932bc36d38e3a79e9aa0 (patch) | |
| tree | 2597f5dea01d2368c89b173dcc580aa7825d5dd4 /net/mptcp/protocol.h | |
| parent | mptcp: pm: fix ID 0 endp usage after multiple re-creations (diff) | |
| download | kernel-d397d7246c11ca36c33c932bc36d38e3a79e9aa0.tar.gz kernel-d397d7246c11ca36c33c932bc36d38e3a79e9aa0.zip | |
selftests: mptcp: join: check re-re-adding ID 0 endp
This test extends "delete and re-add" to validate the previous commit:
when the endpoint linked to the initial subflow (ID 0) is re-added
multiple times, it was no longer being used, because the internal linked
counters are not decremented for this special endpoint: it is not an
additional endpoint.
Here, the "del/add id 0" steps are done 3 times to unsure this case is
validated.
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: 3ad14f54bd74 ("mptcp: more accurate MPC endpoint tracking")
Cc: [email protected]
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/mptcp/protocol.h')
0 files changed, 0 insertions, 0 deletions
