Re: [PATCH] netlink: Add workaround for missing NLM_F_ACK_TLVS and NLM_F_CAPPED

Marcel Holtmann <[email protected]> Sat, 25 Nov 2023 20:04:01 +0100
Newsgroups dev.linux.lists.ell
Message-ID <[email protected]>
Hi,

> 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

I applied this patch.

Regards

Marcel