From: Mahesh Bandewar Date: Sat, 6 Dec 2014 23:53:46 +0000 (-0800) Subject: macvlan: play well with ipvlan device X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6b00fec5dbbe976904b4d77e7d4f9493df5c2ec;p=pandora-kernel.git macvlan: play well with ipvlan device 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed