git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bond: Reconfigure flows when bond mode changes.
[sliver-openvswitch.git]
/
vswitchd
/
bridge.c
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index
7997402
..
26b4f70
100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-3107,7
+3107,9
@@
port_reconfigure_bond(struct port *port)
if (!port->bond) {
port->bond = bond_create(&s);
} else {
if (!port->bond) {
port->bond = bond_create(&s);
} else {
- bond_reconfigure(port->bond, &s);
+ if (bond_reconfigure(port->bond, &s)) {
+ bridge_flush(port->bridge);
+ }
}
LIST_FOR_EACH (iface, port_elem, &port->ifaces) {
}
LIST_FOR_EACH (iface, port_elem, &port->ifaces) {