[EBTABLES]: Deal with the worst-case behaviour in loop checks.
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Dec 2006 03:24:49 +0000 (19:24 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:31:55 +0000 (21:31 -0800)
commit98a0824a0f33d051f31ca8ff59e289755b244ede
tree5f8ea3519c60809dc880dfb9737d6a5ebcd8dab0
parent40642f95f5f818579bc4cc3ee084b033e662d5b3
[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>
net/bridge/netfilter/ebtables.c