Re: [patch] [CRYPTO] add alignment for setkey()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 18, 2007 at 03:43:41PM +0200, Sebastian Siewior wrote:
>
> Good point. I take kmalloc() with GFP_KERNEL (the caller should not be
> atomic at this point). Additionaly I zero the temporary key (I don't
> think the setkey() path is performace critical).

They shouldn't be.  But it would be good if you could do a grep to see
if any of them are doing it in an atomic context since we've not tested
for this before.

Thanks,
-- 
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-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux