Re: linux 2.6 driver (patch included)

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

 



[sorry for late answer]

"Leisner, Martin" wrote:
> 1) there's no loop.c-2.6.original available -- that's my major complaint
> -- so I can't see where it came from (with all the kernel changes).

The loop code in loop-AES and mainline loop.c do not share much code, so any
diff between the two would be mostly unreadable. So no loop.c-2.6.diff and
no loop.c-2.6.original are needed.

loop-AES-v3.2b should work with 2.6.24-rc1 and all earlier kernels.

> There were some api changes I saw, but there seemed to be some "other
> changes" -- for example:
> 
> @@ -709,6 +734,9 @@
>         sector_t IV;
>         struct page *pg;
> 
> +       if(!bio->bi_size)
> +               return 0;
> +

That is part of kernel interface changes that is required for 2.6.24-rc
kernels. Since above code does no harm on older kernels, I decided to not
wrap it around #if defined(SOMETHING) / #endif .

> I'm not sure if that's a reason to upgrade or not...

That is no reason to upgrade.
 
-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
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