git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
upgrade to linux 2.6.10-1.12_FC2
[linux-2.6.git]
/
net
/
ipv4
/
netfilter
/
arp_tables.c
diff --git
a/net/ipv4/netfilter/arp_tables.c
b/net/ipv4/netfilter/arp_tables.c
index
b0d4ce6
..
f181368
100644
(file)
--- a/
net/ipv4/netfilter/arp_tables.c
+++ b/
net/ipv4/netfilter/arp_tables.c
@@
-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: