diff options
author | Jakub Kicinski <kuba@kernel.org> | 2023-10-16 23:45:40 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-18 02:59:51 +0200 |
commit | 5294df643ba6bfee5c70208f0318acd404c2e27d (patch) | |
tree | 8ca20c5fbe717b750d3b14b16130d57d54a70f0d /Documentation/userspace-api | |
parent | tools: ynl: fix converting flags to names after recent cleanup (diff) | |
download | linux-5294df643ba6bfee5c70208f0318acd404c2e27d.tar.xz linux-5294df643ba6bfee5c70208f0318acd404c2e27d.zip |
docs: netlink: clean up after deprecating version
Jiri moved version to legacy specs in commit 0f07415ebb78 ("netlink:
specs: don't allow version to be specified for genetlink").
Update the documentation.
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20231016214540.1822392-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/userspace-api')
-rw-r--r-- | Documentation/userspace-api/netlink/genetlink-legacy.rst | 14 | ||||
-rw-r--r-- | Documentation/userspace-api/netlink/specs.rst | 5 |
2 files changed, 14 insertions, 5 deletions
diff --git a/Documentation/userspace-api/netlink/genetlink-legacy.rst b/Documentation/userspace-api/netlink/genetlink-legacy.rst index 40b82ad5d54a..0b3febd57ff5 100644 --- a/Documentation/userspace-api/netlink/genetlink-legacy.rst +++ b/Documentation/userspace-api/netlink/genetlink-legacy.rst @@ -11,6 +11,20 @@ the ``genetlink-legacy`` protocol level. Specification ============= +Globals +------- + +Attributes listed directly at the root level of the spec file. + +version +~~~~~~~ + +Generic Netlink family version, default is 1. + +``version`` has historically been used to introduce family changes +which may break backwards compatibility. Since compatibility breaking changes +are generally not allowed ``version`` is very rarely used. + Attribute type nests -------------------- diff --git a/Documentation/userspace-api/netlink/specs.rst b/Documentation/userspace-api/netlink/specs.rst index cc4e2430997e..40dd7442d2c3 100644 --- a/Documentation/userspace-api/netlink/specs.rst +++ b/Documentation/userspace-api/netlink/specs.rst @@ -86,11 +86,6 @@ name Name of the family. Name identifies the family in a unique way, since the Family IDs are allocated dynamically. -version -~~~~~~~ - -Generic Netlink family version, default is 1. - protocol ~~~~~~~~ |