Without this patch, the LACP partner information will not be
cleared if LACP is turned off after a successful negotiation.
---
 vswitchd/bridge.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c
index f786108..123ab2b 100644
--- 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;
     }
 
-- 
1.7.4


_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev_openvswitch.org

Reply via email to