[PATCH] EBTABLES: Deal with the worst-case behaviour in loop checks.
commit6fe7624b306c7db201c07434ac511ab6fc7f0b2c
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>
Sun, 17 Dec 2006 00:20:46 +0000 (16 16:20 -0800)
tree5803c9811099433d0f0a875bd1c631a9628424f3
parent83b44db22cc477cb2f9f6e96d07812245cd060db
[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