]> www.infradead.org Git - users/hch/misc.git/commitdiff
netlink: specs: rtnetlink: attribute naming corrections
authorJakub Kicinski <kuba@kernel.org>
Mon, 14 Apr 2025 21:18:49 +0000 (14:18 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 17 Apr 2025 01:09:42 +0000 (18:09 -0700)
Some attribute names diverge in very minor ways from the C names.
These are most likely typos, and they prevent the C codegen from
working.

Fixes: bc515ed06652 ("netlink: specs: Add a spec for neighbor tables in rtnetlink")
Fixes: b2f63d904e72 ("doc/netlink: Add spec for rt link messages")
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250414211851.602096-7-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt_link.yaml
Documentation/netlink/specs/rt_neigh.yaml

index 200e9a7e5b11d390f9f471bfc2be72f183e733f6..03323d7f58dcd33a84110d65269d94253403d6e3 100644 (file)
@@ -1591,7 +1591,7 @@ attribute-sets:
         name: nf-call-iptables
         type: u8
       -
-        name: nf-call-ip6-tables
+        name: nf-call-ip6tables
         type: u8
       -
         name: nf-call-arptables
@@ -2083,7 +2083,7 @@ attribute-sets:
         name: id
         type: u16
       -
-        name: flag
+        name: flags
         type: binary
         struct: ifla-vlan-flags
       -
@@ -2171,7 +2171,7 @@ attribute-sets:
         type: binary
         struct: ifla-cacheinfo
       -
-        name: icmp6-stats
+        name: icmp6stats
         type: binary
         struct: ifla-icmp6-stats
       -
index e670b6dc07be4f552133bfe458ebfee7ef8f2067..a1e137a16abd56958c7ed1d0023691f66fa9515d 100644 (file)
@@ -189,7 +189,7 @@ attribute-sets:
         type: binary
         display-hint: ipv4
       -
-        name: lladr
+        name: lladdr
         type: binary
         display-hint: mac
       -