]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: x_tables: move table->lock initialization
authorDmitry Mishin <dim@openvz.org>
Tue, 25 Apr 2006 00:18:25 +0000 (17:18 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 25 Apr 2006 00:27:33 +0000 (17:27 -0700)
commitfc6134e36b732c839fa5fe07828046482f97781e
tree84d7cae64287878e9dbfff5ec04e306e50982328
parent35f36afe9e11a38a56c4ef6f890ead8e60684fd7
[NETFILTER]: x_tables: move table->lock initialization

xt_table->lock should be initialized before xt_replace_table() call, which
uses it. This patch removes strict requirement that table should define
lock before registering.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/x_tables.c