projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Consistently maintain flow key.
[openvswitch]
/
xenserver
/
etc_xensource_scripts_vif
diff --git
a/xenserver/etc_xensource_scripts_vif
b/xenserver/etc_xensource_scripts_vif
index 77d39400476e6de0c419dcbcacebef23c1833ce9..3a209f9b4ae315d732483d0d6fb8f9f4eb1323d5 100755
(executable)
--- a/
xenserver/etc_xensource_scripts_vif
+++ b/
xenserver/etc_xensource_scripts_vif
@@
-172,7
+172,10
@@
remove_from_bridge()
# Nothing to do
;;
vswitch)
# Nothing to do
;;
vswitch)
- $vsctl del-port $dev
+ # If ovs-brcompatd is running, it might already have deleted the
+ # port. Use --if-exists to suppress the error that would otherwise
+ # arise in that case.
+ $vsctl -- --if-exists del-port $dev
;;
esac
}
;;
esac
}