Fixed typos in dummy hardware table example that caused compilation errors.
authorJustin Pettit <jpettit@nicira.com>
Wed, 4 Jun 2008 07:40:05 +0000 (00:40 -0700)
committerJustin Pettit <jpettit@nicira.com>
Wed, 4 Jun 2008 07:40:05 +0000 (00:40 -0700)
This still has a license conflict with GPL-only "call_rcu" function.  We'll figure this out later.  Thanks for pointing it out, Ben!

datapath/hwtable-dummy/hwtable-dummy.c

index cb7516f94c29ae5843212707698a2b08e3cfaeeb..d84dde0ca152819ec132f19824b3e9b3635a77ab 100644 (file)
@@ -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);