vport: Use EBUSY to represent already attached device.
authorJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 02:02:10 +0000 (19:02 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 15 Jul 2010 22:09:08 +0000 (15:09 -0700)
commit10d3515aa4fc0d338df28d2760fae264c0cea40a
tree4ebced5c37b7d95e43d2fd14e3d9b26d2c3b3b8e
parent1336993ca480cf647dc0f87c06ac51ec4175a361
vport: Use EBUSY to represent already attached device.

We currently use EEXIST to represent both a device that is already
attached and for GRE devices that are the same as another one.
Instead use EBUSY for already attached devices to disambiguate the
two situations.
datapath/vport.c
lib/netdev-gre.c
lib/netdev-patch.c