diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2025-02-28 11:20:57 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-04 12:44:48 +0100 |
| commit | 4754affe0b57e55fbd17c0986c89b548d093d5c4 (patch) | |
| tree | 213e781f4ffa04354667510415e88b0a486613fc /Documentation/netlink | |
| parent | 0c493da86374dffff7505e67289ad75b21f5b301 (diff) | |
| download | tip-4754affe0b57e55fbd17c0986c89b548d093d5c4.tar.gz | |
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.
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/netlink')
| -rw-r--r-- | Documentation/netlink/specs/rt_link.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/netlink/specs/rt_link.yaml b/Documentation/netlink/specs/rt_link.yaml index 8b5c0f06732855..31238455f8e9d2 100644 --- a/Documentation/netlink/specs/rt_link.yaml +++ b/Documentation/netlink/specs/rt_link.yaml @@ -1160,6 +1160,9 @@ attribute-sets: name: max-pacing-offload-horizon type: uint doc: EDT offload horizon supported by the device (in nsec). + - + name: netns-immutable + type: u8 - name: af-spec-attrs attributes: |
