In article <E1CRcet-0001Jc-00@gondolin.me.apana.org.au> (at Wed, 10 Nov 2004 07:32:07 +1100), Herbert Xu <herbert@gondor.apana.org.au> says: > Craig, Dave <dwcraig@qualcomm.com> wrote: > > > > Please consider the attached patch for incorporation into the next Linux > > 2.6 release. I found that using the __builtin_memcmp GCC intrinsic for > > doing IPv6 address comparison a lot more slow than integer comparison. > > What if the addresses are not aligned on a platform where it matters? It shouldn't if ipv6_addr_cmp() is used for in6_addr{}. --yoshfuji - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html