Re: 2.4.19 or 2.4.20 breaks encrypted swap (loop-aes or cryptoapi)

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

 



Zygo Blaxell wrote:
> Encrypted swap on kernels 2.4.19 and 2.4.20 has fatal problems which
> are not present in 2.4.18.

What filesystems are you using? If you are using ext3, I hope it is patched
with Andrew Morton's ext3 patches.

Can you re-run your hanging tests cases with this patch applied to
loop-AES-v1.7a? This patch reduces stack usage and may make loop little bit
slower.

Regards,
Jari Ruusu <jari.ruusu@pp.inet.fi>


--- loop.c-2.4.patched.old	Wed Dec 25 21:00:20 2002
+++ loop.c-2.4.patched	Thu Jan 23 14:11:35 2003
@@ -556,7 +556,7 @@
 	/*
 	 * device backed, start reads and writes now if buffer available
 	 */
-	bh = loop_get_buffer(lo, rbh, 0, rw);
+	bh = NULL; /*loop_get_buffer(lo, rbh, 0, rw);*/
 	if (!bh) {
 		/* just queue request and let thread handle alloc later */
 		loop_add_queue_last(lo, rbh, (rw == WRITE) ? &bhQue1(lo) : &bhQue2(lo));

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux