From edbad245caa782220c6c3d97df39701065e3499b Mon Sep 17 00:00:00 2001 From: Ethan Jackson Date: Fri, 4 Feb 2011 18:13:55 -0800 Subject: [PATCH] vswitchd: Reset LACP partner when set off. 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 file changed, 3 insertions(+) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index f786108c..123ab2b8 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; } -- 2.30.2