Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Jiri Pirko and committed by
Jakub Kicinski
8ad55b1e 21f49681

+4
+4
Documentation/userspace-api/netlink/intro.rst
··· 234 234 | ** optionally extended ACK | 235 235 ---------------------------------------------- 236 236 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 + 237 241 .. _res_fam: 238 242 239 243 Resolving the Family ID