History

net: advertise netns_immutable property via netlink

Since commit 05c1280a2bcf ("netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local"), there is no way to see if the netns_immutable property s set on a device. Let's add a netlink attribute to advertise it.

Nicolas Dichtel committed 1 year ago

Commit 4754aff1 parent 0c493da3 files · +7 −0Browse files

Showing the changes to include/uapi/linux (1 of 3 files). Show all

Unified · Split

include/uapi/linux/if_link.h+1−0
@@ -378,6 +378,7 @@ enum { · 377 unmodified lines
378378 IFLA_GRO_IPV4_MAX_SIZE,
379379 IFLA_DPLL_PIN,
380380 IFLA_MAX_PACING_OFFLOAD_HORIZON,
381+ IFLA_NETNS_IMMUTABLE,
381382 __IFLA_MAX
382383 };
383384