aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
authorJakub Kicinski <kuba@kernel.org>2025-04-17 19:17:01 -0700
committerJakub Kicinski <kuba@kernel.org>2025-04-23 16:07:16 -0700
commit1c224f19ff06e59fb4079f3b26532dbd3b537b1e (patch)
treed6ee282f05b228867f1c955905ba2ee255faff2e /Documentation
parente6e1f53f0283d2213dba95dbaa82c3978718245a (diff)
downloadath-1c224f19ff06e59fb4079f3b26532dbd3b537b1e.tar.gz
netlink: specs: rt-link: make bond's ipv6 address attribute fixed size
ns-ip6-target is an indexed-array. Codegen for variable size binary array would be a bit tedious, tell C that we know the size of these attributes, since they are IPv6 addrs. Reviewed-by: Donald Hunter <donald.hunter@gmail.com> Link: https://patch.msgid.link/20250418021706.1967583-8-kuba@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/netlink/specs/rt-link.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/rt-link.yaml b/Documentation/netlink/specs/rt-link.yaml
index 6ab9b876a464a..4b51c5b60d955 100644
--- a/Documentation/netlink/specs/rt-link.yaml
+++ b/Documentation/netlink/specs/rt-link.yaml
@@ -1447,6 +1447,8 @@ attribute-sets:
type: indexed-array
sub-type: binary
display-hint: ipv6
+ checks:
+ exact-len: 16
-
name: coupled-control
type: u8