[ovs-dev] [PATCH] vswitchd: Also consider access port VLANs as "in use" for VLAN splinters.

Justin Pettit jpettit at nicira.com
Tue Jan 3 21:28:39 UTC 2012


On Dec 27, 2011, at 1:01 PM, Ben Pfaff wrote:

> @@ -3425,22 +3426,23 @@ collect_splinter_vlans(const struct ovsrec_open_vswitch *ovs_cfg)
>             for (k = 0; k < port_cfg->n_interfaces; k++) {
>                 struct ovsrec_interface *iface_cfg = port_cfg->interfaces[k];
> 
> +                vlan_splinters_enabled_anywhere = true;
>                 if (vlan_splinters_is_enabled(iface_cfg)) {

I think you want that assignment inside this loop.  Otherwise, it looks good to me.

--Justin






More information about the dev mailing list