From: Mahesh Bandewar Date: Sat, 6 Dec 2014 23:53:19 +0000 (-0800) Subject: ipvlan: play well with macvlan device X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=764e433b3c43d47e2d19e4bd32fec093421b9cff;p=pandora-kernel.git ipvlan: play well with macvlan device If a device is already a macvlan port then refuse to use it as an ipvlan port in the early stage of port creation. thost1:~# ip link add link eth0 mvl0 type macvlan thost1:~# echo $? 0 thost1:~# ip link add link eth0 ipvl0 type ipvlan 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