summaryrefslogtreecommitdiffstats
path: root/drivers/net/ipvlan/ipvlan.h
diff options
context:
space:
mode:
authorMahesh Bandewar <maheshb@google.com>2014-12-07 00:53:19 +0100
committerDavid S. Miller <davem@davemloft.net>2014-12-09 22:10:06 +0100
commit764e433b3c43d47e2d19e4bd32fec093421b9cff (patch)
treedac83cf25f3b5407ec27ca7d73210f2ef49a2584 /drivers/net/ipvlan/ipvlan.h
parentnetdevice: Add a function to check macvlan port (diff)
downloadlinux-764e433b3c43d47e2d19e4bd32fec093421b9cff.tar.xz
linux-764e433b3c43d47e2d19e4bd32fec093421b9cff.zip
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>
Diffstat (limited to 'drivers/net/ipvlan/ipvlan.h')
0 files changed, 0 insertions, 0 deletions