diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2009-02-18 17:47:50 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-02-18 17:47:50 +0100 |
commit | ddc214c43a923e89741e04da2f10e3037a64e222 (patch) | |
tree | 106bd4feb8edb426683c9c46c50095f71ef8da0d /net/ipv4/esp4.c | |
parent | netfilter: log invalid new icmpv6 packet with nf_log_packet() (diff) | |
download | linux-ddc214c43a923e89741e04da2f10e3037a64e222.tar.xz linux-ddc214c43a923e89741e04da2f10e3037a64e222.zip |
netfilter: arp_tables: unfold two critical loops in arp_packet_match()
x86 and powerpc can perform long word accesses in an efficient maner.
We can use this to unroll two loops in arp_packet_match(), to
perform arithmetic on long words instead of bytes. This is a win
on x86_64 for example.
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/ipv4/esp4.c')
0 files changed, 0 insertions, 0 deletions