diff options
author | 2025-02-28 11:20:56 +0100 | |
---|---|---|
committer | 2025-03-04 12:44:48 +0100 | |
commit | 0c493da86374dffff7505e67289ad75b21f5b301 (patch) | |
tree | cdf29189da69cefe4445f5dc89320e21342df9c9 /net/openvswitch | |
parent | Merge branch 'some-pktgen-fixes-improvments-part-ii' (diff) | |
download | linux-rng-0c493da86374dffff7505e67289ad75b21f5b301.tar.xz linux-rng-0c493da86374dffff7505e67289ad75b21f5b301.zip |
net: rename netns_local to netns_immutable
The name 'netns_local' is confusing. A following commit will export it via
netlink, so let's use a more explicit name.
Reported-by: Eric Dumazet <edumazet@google.com>
Suggested-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/openvswitch')
-rw-r--r-- | net/openvswitch/vport-internal_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/vport-internal_dev.c b/net/openvswitch/vport-internal_dev.c index 2412d7813d24..125d310871e9 100644 --- a/net/openvswitch/vport-internal_dev.c +++ b/net/openvswitch/vport-internal_dev.c @@ -149,7 +149,7 @@ static struct vport *internal_dev_create(const struct vport_parms *parms) /* Restrict bridge port to current netns. */ if (vport->port_no == OVSP_LOCAL) - vport->dev->netns_local = true; + vport->dev->netns_immutable = true; rtnl_lock(); err = register_netdevice(vport->dev); |