Commit 8ad55b1e authored by Jiri Pirko's avatar Jiri Pirko Committed by Jakub Kicinski
Browse files

docs: netlink: add NLMSG_DONE message format for doit actions



In case NLMSG_DONE message is sent as a reply to doit action, multiple
kernel implementation do not send anything else than struct nlmsghdr.
Add this note to the Netlink intro documentation.

Signed-off-by: default avatarJiri Pirko <jiri@nvidia.com>
Reviewed-by: default avatarBagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20231201180154.864007-1-jiri@resnulli.us


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 21f49681
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -234,6 +234,10 @@ ACK attributes may be present::
  | ** optionally extended ACK                 |
  ----------------------------------------------

Note that some implementations may issue custom ``NLMSG_DONE`` messages
in reply to ``do`` action requests. In that case the payload is
implementation-specific and may also be absent.

.. _res_fam:

Resolving the Family ID