From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 0/2] Ease to follow an interface that moves to another netns Date: Mon, 29 Jan 2018 12:36:25 -0500 (EST) Message-ID: <20180129.123625.749874592074031868.davem@davemloft.net> References: <20180125140139.18106-1-nicolas.dichtel@6wind.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jbenc@redhat.com, christian.brauner@ubuntu.com To: nicolas.dichtel@6wind.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:46040 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751251AbeA2Rg1 (ORCPT ); Mon, 29 Jan 2018 12:36:27 -0500 In-Reply-To: <20180125140139.18106-1-nicolas.dichtel@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Nicolas Dichtel Date: Thu, 25 Jan 2018 15:01:37 +0100 > The goal of this series is to ease the user to follow an interface that > moves to another netns. > > After this series, with a patched iproute2: > > $ ip netns > bar > foo > $ ip monitor link & > $ ip link set dummy0 netns foo > Deleted 5: dummy0: mtu 1500 qdisc noop state DOWN group default > link/ether 6e:a7:82:35:96:46 brd ff:ff:ff:ff:ff:ff new-nsid 0 new-ifindex 6 > > => new nsid: 0, new ifindex: 6 (was 5 in the previous netns) > > $ ip link set eth1 netns bar > Deleted 3: eth1: mtu 1500 qdisc noop state DOWN group default > link/ether 52:54:01:12:34:57 brd ff:ff:ff:ff:ff:ff new-nsid 1 new-ifindex 3 > > => new nsid: 1, new ifindex: 3 (same ifindex) > > $ ip netns > bar (id: 1) > foo (id: 0) Series applied, thanks Nicolas.