https://github.com/torvalds/linux
Revision d315a0e09f1c8b833cacd5e72f3edea419978138 authored by Herbert Xu on 31 May 2009, 13:09:22 UTC, committed by Herbert Xu on 31 May 2009, 13:09:22 UTC
A quirk that we've always supported is having an sg entry that's
bigger than a page, or more generally an sg entry that crosses
page boundaries.  Even though it would be better to explicitly have
to sg entries for this, we need to support it for the existing users,
in particular, IPsec.

The new ahash sg walking code did try to handle this, but there was
a bug where we didn't increment the page so kept on walking on the
first page over an dover again.

This patch fixes it.

Tested-by: Martin Willi <martin@strongswan.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 3218911
History
Tip revision: d315a0e09f1c8b833cacd5e72f3edea419978138 authored by Herbert Xu on 31 May 2009, 13:09:22 UTC
crypto: hash - Fix handling of sg entry that crosses page boundary
Tip revision: d315a0e
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 885 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.6 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 144.6 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top