[PATCH net-next v3] doc/netlink: rt-link: fix binary attributes marked as strings

Subsystems: networking [general], the rest, yaml netlink (ynl)

STALE111d

2 messages, 2 authors, 2026-06-02 · open the first message on its own page

[PATCH net-next v3] doc/netlink: rt-link: fix binary attributes marked as strings

From: Remy D. Farley <hidden>
Date: 2026-05-29 12:14:58

These link-attrs attributes were previously marked as strings:

- wireless - struct iw_event
- protinfo - a nest of ifla6-attrs or linkinfo-brport-attrs
- cost, priority - unused

Signed-off-by: Remy D. Farley <redacted>
---
v3: cost, priority marked with "type: unused" instead of binary
v2: Added SoB

 Documentation/netlink/specs/rt-link.yaml | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 79c89f204..a5c029781 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -880,19 +880,21 @@ attribute-sets:
         struct: rtnl-link-stats
       -
         name: cost
-        type: string
+        type: unused
       -
         name: priority
-        type: string
+        type: unused
       -
         name: master
         type: u32
       -
         name: wireless
-        type: string
+        type: binary
+        doc: struct iw_event
       -
         name: protinfo
-        type: string
+        type: binary
+        doc: A nest of ifla6-attrs or linkinfo-brport-attrs
       -
         name: txqlen
         type: u32
-- 
2.51.2

Re: [PATCH net-next v3] doc/netlink: rt-link: fix binary attributes marked as strings

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-02 20:20:03

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Fri, 29 May 2026 12:14:44 +0000 you wrote:
These link-attrs attributes were previously marked as strings:

- wireless - struct iw_event
- protinfo - a nest of ifla6-attrs or linkinfo-brport-attrs
- cost, priority - unused

Signed-off-by: Remy D. Farley <redacted>

[...]
Here is the summary with links:
  - [net-next,v3] doc/netlink: rt-link: fix binary attributes marked as strings
    https://git.kernel.org/netdev/net-next/c/5996b5ab8b37

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help