projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00a42f7
)
vswitchd: Reset LACP partner when set off.
author
Ethan Jackson
<ethan@nicira.com>
Sat, 5 Feb 2011 02:13:55 +0000
(18:13 -0800)
committer
Ethan Jackson
<ethan@nicira.com>
Mon, 7 Feb 2011 19:27:51 +0000
(11:27 -0800)
Without this patch, the LACP partner information will not be
cleared if LACP is turned off after a successful negotiation.
vswitchd/bridge.c
patch
|
blob
|
history
diff --git
a/vswitchd/bridge.c
b/vswitchd/bridge.c
index f786108cf19af16a4834fcabfb2b85b0978f12c9..123ab2b8a952bb396504c282439b45542a75d177 100644
(file)
--- a/
vswitchd/bridge.c
+++ b/
vswitchd/bridge.c
@@
-4469,6
+4469,9
@@
port_update_lacp(struct port *port)
bool key_changed;
if (!port->lacp || port->n_ifaces < 1) {
+ for (i = 0; i < port->n_ifaces; i++) {
+ iface_set_lacp_defaulted(port->ifaces[i]);
+ }
return;
}