Messages in this thread Patch in this message | | | Date | Wed, 6 Sep 2006 16:15:53 +1000 | Subject | Re: 2.6.18-rc4-mm3 crypto issues with encrypted disks | From | Herbert Xu <> |
| |
On Mon, Sep 04, 2006 at 04:02:28PM +0000, Valdis.Kletnieks@vt.edu wrote: > Sorry for not catching this one earlier.. Sometime between 2.6.18-rc4-mm2 > and -mm3, something crept into the git-cryptodev.patch that breaks mounting > encrypted disks. What I have in /etc/fstab:
Thanks for the report! I set the wrong default when I changed the cryptoloop init code. This patch should fix the problem.
Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c index c6bbdbe..4053503 100644 --- a/drivers/block/cryptoloop.c +++ b/drivers/block/cryptoloop.c @@ -67,7 +67,7 @@ cryptoloop_init(struct loop_device *lo, } if (!mode_len) { - mode = "ecb"; + mode = "cbc"; mode_len = 3; } - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |