diff options
| author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | 2025-02-28 11:20:56 +0100 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-03-04 12:44:48 +0100 |
| commit | 0c493da86374dffff7505e67289ad75b21f5b301 (patch) | |
| tree | cdf29189da69cefe4445f5dc89320e21342df9c9 /drivers/net/loopback.c | |
| parent | af08cc40ea6176e5c875fa80b665cdb3b9c930bc (diff) | |
| download | linux-0c493da86374dffff7505e67289ad75b21f5b301.tar.gz linux-0c493da86374dffff7505e67289ad75b21f5b301.tar.bz2 linux-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 'drivers/net/loopback.c')
| -rw-r--r-- | drivers/net/loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index f1d68153987e..201fddcd3b1e 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -172,7 +172,7 @@ static void gen_lo_setup(struct net_device *dev, dev->flags = IFF_LOOPBACK; dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE; dev->lltx = true; - dev->netns_local = true; + dev->netns_immutable = true; netif_keep_dst(dev); dev->hw_features = NETIF_F_GSO_SOFTWARE; dev->features = NETIF_F_SG | NETIF_F_FRAGLIST |
