Ken-ichirou MATSUZAWA <[EMAIL PROTECTED]> wrote:
> Hello, I was sorry for my less information.
> 
> From: Andi Kleen <[EMAIL PROTECTED]>
> Subject: Re: ALIGN at crypt/cipher.c
> Date: Mon, 11 Jul 2005 18:35:31 +0200
> 
>> > $ uname -a
>> > Linux toptor 2.6.13-rc2-git1 #8 SMP Tue Jul 12 00:10:46 JST 2005 x86_64 
>> > GNU/Linux
>> > I got oops at esp_output in net/ipv4/esp4.c and searched what's
>> > wrong. As subject, at crypto_init_cipher_ops in crypto/cipher.c
>> > 
>> >   1: ops->cit_ivsize = crypto_tfm_alg_blocksize(tfm);
>> >   2: align = crypto_tfm_alg_alignmask(tfm) + 1;
>> >   3: addr = (unsigned long)crypto_tfm_ctx(tfm);
>> >   4: addr = ALIGN(addr, align);
>> >   5: addr += ALIGN(tfm->__crt_alg->cra_ctxsize, align);
>> >   6: ops->cit_iv = (void *)addr;
>> > 
>> > at 3:, addr was, for example ffff81003cde2050 but
>> > at 4:, addr becomes 000000003cde2050.

Thanks for the report, I'll take a look.
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
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 netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to