lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20120710.231336.186224288666405286.davem@davemloft.net> Date: Tue, 10 Jul 2012 23:13:36 -0700 (PDT) From: David Miller <davem@...emloft.net> To: eric.dumazet@...il.com Cc: joe@...ches.com, netdev@...r.kernel.org Subject: Re: [PATCH net-next] ipv6: optimize ipv6 addresses compares From: Eric Dumazet <eric.dumazet@...il.com> Date: Wed, 11 Jul 2012 07:05:57 +0200 > [PATCH net-next v2] 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@...gle.com> Looks good, will apply, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists