diff options
author | Jiri Pirko <jiri@nvidia.com> | 2023-10-10 09:48:10 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-11 22:25:05 +0200 |
commit | 0f07415ebb78e700393237b9148487a2fe27fb04 (patch) | |
tree | 43e4f8a8f6d79a0a19102bb6517761fec83d1c8d /Documentation/netlink/genetlink.yaml | |
parent | Merge branch 'add-vf-fault-detect-support-for-hns3-ethernet-driver' (diff) | |
download | linux-0f07415ebb78e700393237b9148487a2fe27fb04.tar.xz linux-0f07415ebb78e700393237b9148487a2fe27fb04.zip |
netlink: specs: don't allow version to be specified for genetlink
There is no good reason to specify the version for new protocols.
Forbid it in genetlink schema.
If the future proves me wrong, this restriction could be easily lifted.
Move the version definition in between legacy properties
in genetlink-legacy.
Suggested-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20231010074810.191177-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/netlink/genetlink.yaml')
-rw-r--r-- | Documentation/netlink/genetlink.yaml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Documentation/netlink/genetlink.yaml b/Documentation/netlink/genetlink.yaml index 6ea1c947ce51..2b788e607a14 100644 --- a/Documentation/netlink/genetlink.yaml +++ b/Documentation/netlink/genetlink.yaml @@ -26,10 +26,6 @@ properties: type: string doc: type: string - version: - description: Generic Netlink family version. Default is 1. - type: integer - minimum: 1 protocol: description: Schema compatibility level. Default is "genetlink". enum: [ genetlink ] |