aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2012-07-10 19:05:57 +0000
committerDavid S. Miller <[email protected]>2012-07-10 23:13:46 -0700
commit1a203cb33a7dc791b6c0aedf701e70ac00c50cdb (patch)
treee34337ceadbad1aef902ce621e5d81f66bb7a0f5 /scripts/objdiff
parent1aa8b471e09f227455c11d55c4bc94a655ee8497 (diff)
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 <[email protected]> Cc: Joe Perches <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions