Skip to content

Commit 8ad55b1

Browse files
Jiri Pirkokuba-moo
authored andcommitted
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: Jiri Pirko <[email protected]> Reviewed-by: Bagas Sanjaya <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 21f4968 commit 8ad55b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Documentation/userspace-api/netlink/intro.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,10 @@ ACK attributes may be present::
234234
| ** optionally extended ACK |
235235
----------------------------------------------
236236

237+
Note that some implementations may issue custom ``NLMSG_DONE`` messages
238+
in reply to ``do`` action requests. In that case the payload is
239+
implementation-specific and may also be absent.
240+
237241
.. _res_fam:
238242

239243
Resolving the Family ID

0 commit comments

Comments
 (0)