diff options
author | Florian Westphal <fw@strlen.de> | 2011-04-21 10:58:25 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-05-10 09:52:17 +0200 |
commit | 103a9778e07bcc0cd34b5c35a87281454eec719e (patch) | |
tree | 0b4f2262a31df17d205a6ace7b1c7992c8ce1147 /net/netfilter/xt_connbytes.c | |
parent | 5a6351eecf8c87afed9c883bb6341d09406d74ba (diff) | |
download | linux-103a9778e07bcc0cd34b5c35a87281454eec719e.tar.bz2 |
netfilter: ebtables: only call xt_compat_add_offset once per rule
The optimizations in commit 255d0dc34068a976
(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>
Diffstat (limited to 'net/netfilter/xt_connbytes.c')
0 files changed, 0 insertions, 0 deletions