Thread (10 messages) flat view 10 messages, 5 authors, 2025-02-07

Re: [PATCH net 1/2] net: advertise 'netns local' property via netlink

From: Ido Schimmel <hidden>
Date: 2025-02-06 17:11:55
Also in: stable

On Thu, Feb 06, 2025 at 05:59:03PM +0100, Eric Dumazet wrote:
On Thu, Feb 6, 2025 at 5:51 PM Nicolas Dichtel
quoted
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help