]> git.ipfire.org Git - thirdparty/linux.git/commit
netlink: specs: rt_addr: pull the ifa- prefix out of the names
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Apr 2025 01:37:05 +0000 (18:37 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Apr 2025 14:36:06 +0000 (07:36 -0700)
commit0c8e30252d9fe8127f90b7a0a293872b368ebf3c
treec2f2132db8a95f47a5773663e5614515e0b48ff0
parent524c03585fda36584cc7ada49a1827666d37eb4e
netlink: specs: rt_addr: pull the ifa- prefix out of the names

YAML specs don't normally include the C prefix name in the name
of the YAML attr. Remove the ifa- prefix from all attributes
in addr-attrs and specify name-prefix instead.

This is a bit risky, hopefully there aren't many users out there.

Fixes: dfb0f7d9d979 ("doc/netlink: Add spec for rt addr messages")
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250403013706.2828322-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt_addr.yaml
tools/testing/selftests/net/rtnetlink.py