diff options
author | Dmitry Mishin <dim@openvz.org> | 2006-12-05 16:44:07 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-06 21:39:03 -0500 |
commit | f6677f4312ee74f8ca68c4cc4060465607b72b41 (patch) | |
tree | 75cdd6d87c4ddbd2ae9080f205da86a76fa0118c /net/sysctl_net.c | |
parent | 74c9c0c17dea729d6089c0c82762babd02e65f84 (diff) |
[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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions