Skip to content

Commit 452690b

Browse files
matttbekuba-moo
authored andcommitted
selftests: mptcp: pm: check flush doesn't reset limits
This modification is linked to the parent commit where the received ADD_ADDR limit was accidentally reset when the endpoints were flushed. To validate that, the test is now flushing endpoints after having set new limits, and before checking them. 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: 01cacb0 ("mptcp: add netlink-based PM") Cc: [email protected] Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/20250815-net-mptcp-misc-fixes-6-17-rc2-v1-3-521fe9957892@kernel.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 68fc0f4 commit 452690b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/testing/selftests/net/mptcp/pm_netlink.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ set_limits 1 9 2>/dev/null
198198
check "get_limits" "${default_limits}" "subflows above hard limit"
199199

200200
set_limits 8 8
201+
flush_endpoint ## to make sure it doesn't affect the limits
201202
check "get_limits" "$(format_limits 8 8)" "set limits"
202203

203204
flush_endpoint

0 commit comments

Comments
 (0)