]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] NETFILTER: Fix iptables compat hook validation
authorDmitry Mishin <dim@openvz.org>
Mon, 4 Dec 2006 11:22:09 +0000 (12:22 +0100)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Dec 2006 19:32:38 +0000 (11:32 -0800)
commit204f62139c90f142d05372d71e58cc3e6c9780ac
treed35977b992e3344a2ae534cdc5a80f7365549ccc
parent9d62d3f1f0eb730d9308aa4fa427a0e682d22b5f
[PATCH] NETFILTER: Fix iptables compat hook validation

In compat mode, matches and targets valid hooks checks always successful due
to not initialized e->comefrom field yet. This patch separates this checks from
translation code and moves them after mark_source_chains() call, where these
marks are initialized.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Signed-off-by; Patrick McHardy <kaber@trash.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv4/netfilter/ip_tables.c