[PATCH] EBTABLES: Deal with the worst-case behaviour in loop checks.
commitdc983545ac3c17728ebb1e0c56aadc85ae3f8daf
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Dec 2006 03:47:58 +0000 (30 19:47 -0800)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Dec 2006 19:32:37 +0000 (11 11:32 -0800)
treeae21ac873690bd734276a10164834df0870addeb
parent2066918ca75a860c085f294db4f679a397bcc9a3
[PATCH] EBTABLES: Deal with the worst-case behaviour in loop checks.

No need to revisit a chain we'd already finished with during
the check for current hook.  It's either instant loop (which
we'd just detected) or a duplicate work.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/bridge/netfilter/ebtables.c