commit | 764e433b3c43d47e2d19e4bd32fec093421b9cff | [log] [tgz] |
---|---|---|
author | Mahesh Bandewar <maheshb@google.com> | Sat Dec 06 15:53:19 2014 -0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Dec 09 16:10:06 2014 -0500 |
tree | dac83cf25f3b5407ec27ca7d73210f2ef49a2584 | |
parent | 2f33e7d59cb09d9b20d6648086b314f0ba61fb03 [diff] |
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 <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>