Commit e3d199d3 authored by Jakub Kicinski's avatar Jakub Kicinski
Browse files

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: default avatarDonald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250418021706.1967583-12-kuba@kernel.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent eee94a89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@ operations:
      name: delneigh-ntf
      doc: Notify a neighbour deletion
      value: 29
      notify: delneigh
      notify: getneigh
      fixed-header: ndmsg
    -
      name: getneigh
+2 −2
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ operations:
      name: newrule-ntf
      doc: Notify a rule creation
      value: 32
      notify: newrule
      notify: getrule
    -
      name: delrule
      doc: Remove an existing FIB rule
@@ -247,7 +247,7 @@ operations:
      name: delrule-ntf
      doc: Notify a rule deletion
      value: 33
      notify: delrule
      notify: getrule
    -
      name: getrule
      doc: Dump all FIB rules