Jakub Kicinski <kuba@xxxxxxxxxx> writes: > > SGTM, could you add all the info from the commit message somewhere > in the documentation? Perhaps a new section at the end of > Documentation/userspace-api/netlink/specs.rst Ack, will do. >> @@ -261,6 +262,17 @@ properties: >> description: Name of the struct type used for the attribute. >> type: string >> # End genetlink-legacy >> + # Start netlink-raw >> + sub-message: >> + description: >> + Name of the sub-message definition to use for the attribute. >> + type: string >> + selector: >> + description: >> + Name of the attribute to use for dynamic selection of sub-message >> + format specifier. >> + type: string > > We can leave it for later either way, but have you seen any selectors > which would key on an integer, rather than a string? >From what I have seen, I am fairly sure it's always going to be a string. (famous last words)