[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220215204728.1954e7b0@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 15 Feb 2022 20:47:28 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Jacques de Laval <Jacques.De.Laval@...termo.com>,
David Ahern <dsahern@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH v3 net-next 1/1] net: Add new protocol attribute to IP
addresses
On Mon, 14 Feb 2022 16:59:06 +0100 Jacques de Laval wrote:
> @@ -4626,6 +4631,7 @@ static const struct nla_policy ifa_ipv6_policy[IFA_MAX+1] = {
> [IFA_FLAGS] = { .len = sizeof(u32) },
> [IFA_RT_PRIORITY] = { .len = sizeof(u32) },
> [IFA_TARGET_NETNSID] = { .type = NLA_S32 },
> + [IFA_PROTO] = { .len = sizeof(u8) },
> };
Is there a reason this is not using type = NLA_U8?
Powered by blists - more mailing lists