[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z6TtVlfe8XiWLyVB@shredder>
Date: Thu, 6 Feb 2025 19:11:50 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Eric Dumazet <edumazet@...gle.com>, nicolas.dichtel@...nd.com
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Alexander Lobakin <aleksander.lobakin@...el.com>,
netdev@...r.kernel.org, stable@...r.kernel.org
Subject: Re: [PATCH net 1/2] net: advertise 'netns local' property via netlink
On Thu, Feb 06, 2025 at 05:59:03PM +0100, Eric Dumazet wrote:
> On Thu, Feb 6, 2025 at 5:51 PM Nicolas Dichtel
> > @@ -2229,6 +2231,7 @@ static const struct nla_policy ifla_policy[IFLA_MAX+1] = {
> > [IFLA_ALLMULTI] = { .type = NLA_REJECT },
> > [IFLA_GSO_IPV4_MAX_SIZE] = NLA_POLICY_MIN(NLA_U32, MAX_TCP_HEADER + 1),
> > [IFLA_GRO_IPV4_MAX_SIZE] = { .type = NLA_U32 },
> > + [IFLA_NETNS_LOCAL] = { .type = NLA_U8 },
>
> As this is a read-only attribute, I would suggest NLA_REJECT
And please update the spec:
Documentation/netlink/specs/rt_link.yaml
Powered by blists - more mailing lists