]> www.infradead.org Git - nvme.git/commitdiff
netlink: specs: rtnetlink: correct notify properties
authorJakub Kicinski <kuba@kernel.org>
Fri, 18 Apr 2025 02:17:05 +0000 (19:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Apr 2025 23:07:16 +0000 (16:07 -0700)
The notify property should point at the object the notifications
carry, usually the get object, not the cmd which triggers
the notification:

  notify:
    description: Name of the command sharing the reply type with
                 this notification.

Not treating this as a fix, I think that only C codegen cares.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250418021706.1967583-12-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/rt-neigh.yaml
Documentation/netlink/specs/rt-rule.yaml

index fe34ade6b300bf8e50fee1be0628a03bf251806a..e9cba164e3d151737016582e2f57016673f50047 100644 (file)
@@ -381,7 +381,7 @@ operations:
       name: delneigh-ntf
       doc: Notify a neighbour deletion
       value: 29
-      notify: delneigh
+      notify: getneigh
       fixed-header: ndmsg
     -
       name: getneigh