[ovs-dev] [PATCH] bridge: Destroy bond when port is destroyed.

Ben Pfaff blp at nicira.com
Fri Apr 15 18:20:16 UTC 2011


On Fri, Apr 15, 2011 at 11:06:35AM -0700, Ethan Jackson wrote:
> --- 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);

Looks good, thanks.

I guess you applied this after after your lacp refactoring series
since the lacp_destroy() call is in there.



More information about the dev mailing list