upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git] / net / ipv4 / netfilter / arp_tables.c
index b0d4ce6..f181368 100644 (file)
@@ -1199,7 +1199,7 @@ int arpt_register_table(struct arpt_table *table)
        /* save number of initial entries */
        table->private->initial_entries = table->private->number;
 
-       table->lock = RW_LOCK_UNLOCKED;
+       rwlock_init(&table->lock);
        list_prepend(&arpt_tables, table);
 
  unlock: