From: Marcel Holtmann <marcel@holtmann.org>
To: ell@lists.linux.dev
Subject: [PATCH] netlink: Add workaround for missing NLM_F_ACK_TLVS and NLM_F_CAPPED
Date: Tue, 21 Nov 2023 19:48:36 +0100 [thread overview]
Message-ID: <20231121184836.197219-1-marcel@holtmann.org> (raw)
The feature for NETLINK_EXT_ACK also adds two additional flags. These
are NLM_F_ACK_TLVS and NLM_F_CAPPED and need to be defined as well to
be able to used the extended ACK feature.
---
ell/netlink-private.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ell/netlink-private.h b/ell/netlink-private.h
index 0a1b016d8887..fdb584e62652 100644
--- a/ell/netlink-private.h
+++ b/ell/netlink-private.h
@@ -27,6 +27,8 @@ enum nlmsgerr_attrs {
NLMSGERR_ATTR_MSG,
NLMSGERR_ATTR_OFFS,
};
+#define NLM_F_CAPPED 0x100
+#define NLM_F_ACK_TLVS 0x200
#endif
bool netlink_parse_ext_ack_error(const struct nlmsghdr *nlmsg,
--
2.42.0
next reply other threads:[~2023-11-21 18:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-21 18:48 Marcel Holtmann [this message]
2023-11-25 19:04 ` [PATCH] netlink: Add workaround for missing NLM_F_ACK_TLVS and NLM_F_CAPPED Marcel Holtmann
2023-11-26 18:24 ` Grant Erickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231121184836.197219-1-marcel@holtmann.org \
--to=marcel@holtmann.org \
--cc=ell@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).