]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Jan 2026 11:57:12 +0000 (12:57 +0100)
commitea0129061d61665f4b8e9ff09bafe0554824207f
tree227b46901805d7972ffec07a23bdaa32cfe96186
parentec4358c724915df67cac2eb2f01b79270f91bc9a
selftests: mptcp: pm: ensure unknown flags are ignored

commit 29f4801e9c8dfd12bdcb33b61a6ac479c7162bd7 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/net/mptcp/pm_netlink.sh
tools/testing/selftests/net/mptcp/pm_nl_ctl.c