docs: netlink: add NLMSG_DONE message format for doit actions
Subsystems (3)
PATCH v3 1/1 docs: netlink: add NLMSG_DONE message format for doit actions
From: Jiri Pirko <[email protected]>
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.
---v2->v3:
- s/avoided/absent/v1->v2:
- Changed the note completely
--- Documentation/userspace-api/netlink/intro.rst | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/userspace-api/netlink/intro.rst +4 -0
@@ -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
Signature · 1 line
2.41.0
Quoted 5 lines · On Fri, 1 Dec 2023 19:01:54 +0100 Jiri Pirko wrote:
In case
NLMSG_DONEmessage 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]>
Quoted 5 lines · Jiri Pirko
Documentation/userspace-api/netlink/intro.rst +0
-0
Documentation/userspace-api/netlink/intro.rst ACK attributes may be present:: · line 243
Quoted 10 lines
Documentation/userspace-api/netlink/intro.rst +4
-0@@ -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
LGTM, thanks!
Signature · 1 line
An old man doll... just what I always wanted! - Clara
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · On Fri, 1 Dec 2023 19:01:54 +0100 you wrote:
From: Jiri Pirko <[email protected]>
In case
NLMSG_DONEmessage 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]>[...]
Here is the summary with links:
- [net-next,v3] docs: netlink: add NLMSG_DONE message format for doit actions
https://git.kernel.org/netdev/net-next/c/8ad55b1e73c4
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html