From: Justin Pettit Date: Wed, 4 Jun 2008 07:40:05 +0000 (-0700) Subject: Fixed typos in dummy hardware table example that caused compilation errors. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3479a759d8b9a6a2785d5a937896d6d63ff84ce;p=openvswitch Fixed typos in dummy hardware table example that caused compilation errors. This still has a license conflict with GPL-only "call_rcu" function. We'll figure this out later. Thanks for pointing it out, Ben! --- diff --git a/datapath/hwtable-dummy/hwtable-dummy.c b/datapath/hwtable-dummy/hwtable-dummy.c index cb7516f9..d84dde0c 100644 --- a/datapath/hwtable-dummy/hwtable-dummy.c +++ b/datapath/hwtable-dummy/hwtable-dummy.c @@ -283,7 +283,7 @@ static struct sw_table *table_dummy_create(void) INIT_LIST_HEAD(&td->flows); INIT_LIST_HEAD(&td->iter_flows); spin_lock_init(&td->lock); - tl->next_serial = 0 + td->next_serial = 0; INIT_LIST_HEAD(&pending_free_list); spin_lock_init(&pending_free_lock);