]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: mptcp: pm: ensure unknown flags are ignored
authorMatthieu Baerts (NGI0) <matttbe@kernel.org>
Fri, 5 Dec 2025 18:55:15 +0000 (19:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 9 Dec 2025 07:54:02 +0000 (23:54 -0800)
commit29f4801e9c8dfd12bdcb33b61a6ac479c7162bd7
treea27472b089c5ed84e9ec454f27db8fab25a697e5
parent0ace3297a7301911e52d8195cb1006414897c859
selftests: mptcp: pm: ensure unknown flags are ignored

This validates the previous commit: the userspace can set unknown flags
-- the 7th bit is currently unused -- without errors, but only the
supported ones are printed in the endpoints dumps.

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: 01cacb00b35c ("mptcp: add netlink-based PM")
Cc: stable@vger.kernel.org
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20251205-net-mptcp-misc-fixes-6-19-rc1-v1-2-9e4781a6c1b8@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/mptcp/pm_netlink.sh
tools/testing/selftests/net/mptcp/pm_nl_ctl.c