From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 4/4] macvlan: play well with ipvlan device Date: Tue, 09 Dec 2014 16:10:55 -0500 (EST) Message-ID: <20141209.161055.1393386731139458138.davem@davemloft.net> References: <1417910026-13371-1-git-send-email-maheshb@google.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, edumazet@google.com To: maheshb@google.com Return-path: Received: from shards.monkeyblade.net ([149.20.54.216]:38757 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751623AbaLIVK5 (ORCPT ); Tue, 9 Dec 2014 16:10:57 -0500 In-Reply-To: <1417910026-13371-1-git-send-email-maheshb@google.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Mahesh Bandewar Date: Sat, 6 Dec 2014 15:53:46 -0800 > If device is already used as an ipvlan port then refuse to > use it as a macvlan port at early stage of port creation. > > thost1:~# ip link add link eth0 ipvl0 type ipvlan > thost1:~# echo $? > 0 > thost1:~# ip link add link eth0 mvl0 type macvlan > RTNETLINK answers: Device or resource busy > thost1:~# echo $? > 2 > thost1:~# > > Signed-off-by: Mahesh Bandewar Applied.