Skip to content

Commit

Permalink
docs: netlink: add NLMSG_DONE message format for doit actions
Browse files Browse the repository at this point in the history
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: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
Link: https://lore.kernel.org/r/20231201180154.864007-1-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Jiri Pirko authored and Jakub Kicinski committed Dec 4, 2023
1 parent 21f4968 commit 8ad55b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/userspace-api/netlink/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ad55b1

Please sign in to comment.