Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 26172
b: refs/heads/master
c: 91536b7
h: refs/heads/master
v: v3
  • Loading branch information
Dmitry Mishin authored and David S. Miller committed Apr 25, 2006
1 parent 2619aa4 commit 24cf3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4a79ef811505a8bf8d8edfda8602e23cb2fbdb0
refs/heads/master: 91536b7ae67710ca888e03ea82c60f0ac073a015
2 changes: 1 addition & 1 deletion trunk/net/netfilter/x_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ int xt_register_table(struct xt_table *table,

/* Simplifies replace_table code. */
table->private = bootstrap;
rwlock_init(&table->lock);
if (!xt_replace_table(table, 0, newinfo, &ret))
goto unlock;

Expand All @@ -538,7 +539,6 @@ int xt_register_table(struct xt_table *table,
/* save number of initial entries */
private->initial_entries = private->number;

rwlock_init(&table->lock);
list_prepend(&xt[table->af].tables, table);

ret = 0;
Expand Down

0 comments on commit 24cf3e3

Please sign in to comment.