diff options
author | 2025-06-24 14:10:00 -0700 | |
---|---|---|
committer | 2025-06-25 15:36:28 -0700 | |
commit | 8d7e211ea925e050882c762ddf8cf2da78856dfb (patch) | |
tree | 6c446fcb79a24593e0c27d8477d41f0cc61aeceb | |
parent | netlink: specs: mptcp: replace underscores with dashes in names (diff) | |
download | wireguard-linux-8d7e211ea925e050882c762ddf8cf2da78856dfb.tar.xz wireguard-linux-8d7e211ea925e050882c762ddf8cf2da78856dfb.zip |
netlink: specs: rt-link: replace underscores with dashes in names
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: b2f63d904e72 ("doc/netlink: Add spec for rt link messages")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250624211002.3475021-9-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | Documentation/netlink/specs/rt-link.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml index b41b31eebcae..28c4cf66517c 100644 --- a/Documentation/netlink/specs/rt-link.yaml +++ b/Documentation/netlink/specs/rt-link.yaml @@ -603,7 +603,7 @@ definitions: name: optmask type: u32 - - name: if_stats_msg + name: if-stats-msg type: struct members: - @@ -2486,7 +2486,7 @@ operations: name: getstats doc: Get / dump link stats. attribute-set: stats-attrs - fixed-header: if_stats_msg + fixed-header: if-stats-msg do: request: value: 94 |