From: Ethan Jackson Date: Fri, 15 Apr 2011 18:06:02 +0000 (-0700) Subject: bridge: Destroy bond when port is destroyed. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abf754896ee64d9a0319e70388afbcc177b3f9bd;p=openvswitch bridge: Destroy bond when port is destroyed. --- diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 42273c7b..ab4d5078 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -3021,6 +3021,7 @@ port_destroy(struct port *port) VLOG_INFO("destroyed port %s on bridge %s", port->name, br->name); + bond_destroy(port->bond); lacp_destroy(port->lacp); port_flush_macs(port);