Re: 2.6.13rc3: crypto horribly broken on all 64bit archs

From: Herbert Xu
Date: Sun Jul 17 2005 - 15:47:32 EST


On Sun, Jul 17, 2005 at 02:20:21PM +0200, Andreas Steinmetz wrote:
>
> The compiler first does ~((a)-1)) and then expands the unsigned int to
> unsigned long for the & operation. So we end up with only the lower 32
> bits of the address. Who did smoke what to do this? Patch attached.

Thanks for the patch Andreas. A similar patch will be in the
mainline kernel as soon as everybody is back home from Canada.
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/