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.
Showing the changes to include/uapi/linux (1 of 3 files). Show all
Unified · Split
| @@ -378,6 +378,7 @@ enum { · 377 unmodified lines | ||
| 378 | 378 | IFLA_GRO_IPV4_MAX_SIZE, |
| 379 | 379 | IFLA_DPLL_PIN, |
| 380 | 380 | IFLA_MAX_PACING_OFFLOAD_HORIZON, |
| 381 | + IFLA_NETNS_IMMUTABLE, | |
| 381 | 382 | __IFLA_MAX |
| 382 | 383 | }; |
| 383 | 384 | |