Files
linux/net
Florian Westphal 103a9778e0 netfilter: ebtables: only call xt_compat_add_offset once per rule
The optimizations in commit 255d0dc340
(netfilter: x_table: speedup compat operations) assume that
xt_compat_add_offset is called once per rule.

ebtables however called it for each match/target found in a rule.

The match/watcher/target parser already returns the needed delta, so it
is sufficient to move the xt_compat_add_offset call to a more reasonable
location.

While at it, also get rid of the unused COMPAT iterator macros.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2011-05-10 09:52:17 +02:00
..
2011-03-31 11:26:23 -03:00
2010-10-25 13:09:44 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-14 17:02:42 -07:00
2011-03-31 11:26:23 -03:00
2011-01-12 19:00:40 -08:00
2011-03-21 18:16:39 -07:00
2011-03-31 11:26:23 -03:00
2011-03-01 22:51:52 -08:00
2011-03-31 11:26:23 -03:00
2010-04-20 16:37:13 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-31 11:26:23 -03:00