Looks good. --Justin
On May 5, 2012, at 11:10 AM, Ben Pfaff wrote: > This bug is ordinarily not exposed because bridge_configure_tables() in > bridge.c configures the max number of flows soon after an ofproto is > created. But an upcoming commit will make construct() in ofproto-dpif.c > try to create some built-in flows before bridge gets control, so we need > to allow creating flows immediately upon initialization. > > Signed-off-by: Ben Pfaff <[email protected]> > --- > ofproto/ofproto.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c > index 4b2cbc9..8e3c042 100644 > --- a/ofproto/ofproto.c > +++ b/ofproto/ofproto.c > @@ -3874,6 +3874,7 @@ oftable_init(struct oftable *table) > { > memset(table, 0, sizeof *table); > classifier_init(&table->cls); > + table->max_flows = UINT_MAX; > } > > /* Destroys 'table', including its classifier and eviction groups. > -- > 1.7.2.5 > > _______________________________________________ > dev mailing list > [email protected] > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
