aboutsummaryrefslogtreecommitdiffstats
path: root/net/sysctl_net.c
diff options
context:
space:
mode:
authorDmitry Mishin <dim@openvz.org>2006-12-05 16:43:50 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 21:39:02 -0500
commit74c9c0c17dea729d6089c0c82762babd02e65f84 (patch)
treefa3c59bcd8121b469013b49963fb561f0fa30903 /net/sysctl_net.c
parent79066ad32be5bb2edf16733aec36acf2af03fc99 (diff)
[NETFILTER]: Fix {ip,ip6,arp}_tables hook validation
Commit 590bdf7fd2292b47c428111cb1360e312eff207e introduced a regression in match/target hook validation. mark_source_chains builds a bitmask for each rule representing the hooks it can be reached from, which is then used by the matches and targets to make sure they are only called from valid hooks. The patch moved the match/target specific validation before the mark_source_chains call, at which point the mask is always zero. This patch returns back to the old order and moves the standard checks to mark_source_chains. This allows to get rid of a special case for standard targets as a nice side-effect. 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