[ovs-dev] [bridge 08/15] bridge: Get rid of "port_ifidx" in struct iface. Fix bonding hash.

Ethan Jackson ethan at nicira.com
Mon Mar 21 20:22:58 UTC 2011


>     } else {
>         struct bond_entry *e = lookup_bond_entry(port, flow, vlan);
> -        if (e->iface_idx < 0 || e->iface_idx >= port->n_ifaces
> -            || !port->ifaces[e->iface_idx]->enabled) {
> +        if (!e->iface) {

I think we still want to check if !e->iface->enabled here.



More information about the dev mailing list