diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2012-07-10 21:05:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-11 08:13:46 +0200 |
commit | 1a203cb33a7dc791b6c0aedf701e70ac00c50cdb (patch) | |
tree | e34337ceadbad1aef902ce621e5d81f66bb7a0f5 /Documentation/networking/vxge.txt | |
parent | drivers/net/ethernet: Fix non-kernel-doc comments with kernel-doc start markers (diff) | |
download | linux-1a203cb33a7dc791b6c0aedf701e70ac00c50cdb.tar.xz linux-1a203cb33a7dc791b6c0aedf701e70ac00c50cdb.zip |
ipv6: optimize ipv6 addresses compares
On 64 bit arches having efficient unaligned accesses (eg x86_64) we can
use long words to reduce number of instructions for free.
Joe Perches suggested to change ipv6_masked_addr_cmp() to return a bool
instead of 'int', to make sure ipv6_masked_addr_cmp() cannot be used
in a sorting function.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/vxge.txt')
0 files changed, 0 insertions, 0 deletions