From ec1c5c7ebc295aa9c87283cd944451b308481bf1 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 4 May 2012 14:52:17 -0700 Subject: [PATCH] ofproto: Don't limit flows in OpenFlow tables by default. 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 --- ofproto/ofproto.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 806e56bf..98bb9124 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -3897,6 +3897,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. -- 2.30.2