From: Jakub Kicinski Date: Fri, 18 Apr 2025 02:17:01 +0000 (-0700) Subject: netlink: specs: rt-link: make bond's ipv6 address attribute fixed size X-Git-Tag: v6.16-rc1~132^2~235^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1c224f19ff06e59fb4079f3b26532dbd3b537b1e;p=thirdparty%2Flinux.git 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 Link: https://patch.msgid.link/20250418021706.1967583-8-kuba@kernel.org Signed-off-by: Jakub Kicinski --- 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