]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netlink: specs: mptcp: replace underscores with dashes in names
authorJakub Kicinski <kuba@kernel.org>
Sat, 13 Sep 2025 14:10:25 +0000 (10:10 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:35:47 +0000 (16:35 +0200)
commit20a2c389b3a60ea9d603258f65bab9ecd6001077
tree3a232e6405f3edad56df03b18a2481d887f0bc59
parente295bf08b2b4007aff4b159637e99aee9732e492
netlink: specs: mptcp: replace underscores with dashes in names

[ Upstream commit 9e6dd4c256d0774701637b958ba682eff4991277 ]

We're trying to add a strict regexp for the name format in the spec.
Underscores will not be allowed, dashes should be used instead.
This makes no difference to C (codegen, if used, replaces special
chars in names) but it gives more uniform naming in Python.

Fixes: bc8aeb2045e2 ("Documentation: netlink: add a YAML spec for mptcp")
Reviewed-by: Davide Caratti <dcaratti@redhat.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250624211002.3475021-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 7094b84863e5 ("netlink: specs: mptcp: fix if-idx attribute type")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/netlink/specs/mptcp_pm.yaml
include/uapi/linux/mptcp_pm.h