From: Ethan Jackson Date: Tue, 22 Mar 2011 20:30:15 +0000 (-0700) Subject: vswitchd: Destroy lacp in port_destroy(). X-Git-Tag: v1.1.0~81 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6083727211ade47d7008acf4f79705b3c903776b;p=sliver-openvswitch.git vswitchd: Destroy lacp in port_destroy(). Port destruction could cause dangling lacp objects to live in the lacp module's 'all_lacps' list. This could cause bogus output for the lacp/show appctl command. Bug #5088. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 77d6eed78..734d0de36 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -4205,6 +4205,7 @@ port_destroy(struct port *port) port_flush_macs(port); + lacp_destroy(port->lacp); netdev_monitor_destroy(port->monitor); bitmap_free(port->trunks); free(port->bond_hash);