projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6e1f53
)
netlink: specs: rt-link: make bond's ipv6 address attribute fixed size
author
Jakub Kicinski
<kuba@kernel.org>
Fri, 18 Apr 2025 02:17:01 +0000
(19:17 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 23 Apr 2025 23:07:16 +0000
(16:07 -0700)
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>
Documentation/netlink/specs/rt-link.yaml
patch
|
blob
|
blame
|
history
diff --git
a/Documentation/netlink/specs/rt-link.yaml
b/Documentation/netlink/specs/rt-link.yaml
index 6ab9b876a464a13a1a3918aac41fd9dba3752527..4b51c5b60d9550c194243e21faa10ae337f6f237 100644
(file)
--- 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