netlink: specs: rtnetlink: correct notify properties

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>
This commit is contained in:
Jakub Kicinski 2025-04-17 19:17:05 -07:00
parent eee94a89c5
commit e3d199d309
2 changed files with 3 additions and 3 deletions

View File

@ -381,7 +381,7 @@ operations:
name: delneigh-ntf name: delneigh-ntf
doc: Notify a neighbour deletion doc: Notify a neighbour deletion
value: 29 value: 29
notify: delneigh notify: getneigh
fixed-header: ndmsg fixed-header: ndmsg
- -
name: getneigh name: getneigh

View File

@ -234,7 +234,7 @@ operations:
name: newrule-ntf name: newrule-ntf
doc: Notify a rule creation doc: Notify a rule creation
value: 32 value: 32
notify: newrule notify: getrule
- -
name: delrule name: delrule
doc: Remove an existing FIB rule doc: Remove an existing FIB rule
@ -247,7 +247,7 @@ operations:
name: delrule-ntf name: delrule-ntf
doc: Notify a rule deletion doc: Notify a rule deletion
value: 33 value: 33
notify: delrule notify: getrule
- -
name: getrule name: getrule
doc: Dump all FIB rules doc: Dump all FIB rules