From: Donald Hunter Date: Tue, 11 Feb 2025 12:01:25 +0000 (+0000) Subject: netlink: specs: support nested structs in genetlink legacy X-Git-Tag: v6.15-rc1~160^2~337^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=718a8360719b2cbde73b627bf45801b1780caf32;p=thirdparty%2Fkernel%2Flinux.git netlink: specs: support nested structs in genetlink legacy Nested structs are already supported in netlink-raw. Add the same capability to the genetlink legacy schema. Signed-off-by: Donald Hunter Link: https://patch.msgid.link/20250211120127.84858-9-donald.hunter@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml index ed64acf1bef77..c02ed80897460 100644 --- a/Documentation/netlink/genetlink-legacy.yaml +++ b/Documentation/netlink/genetlink-legacy.yaml @@ -152,6 +152,9 @@ properties: the right formatting mechanism when displaying values of this type. enum: [ hex, mac, fddi, ipv4, ipv6, uuid ] + struct: + description: Name of the nested struct type. + type: string # End genetlink-legacy attribute-sets: