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