Revision 1836098f97d22c81652aeeec64d1819dc2177bdb authored by Manfred Spraul on 24 December 2005, 13:19:24 UTC, committed by Linus Torvalds on 24 December 2005, 19:53:32 UTC
Two critical bugs were found in forcedeth 0.47:
 - TSO doesn't work.
 - pci_map_single() for the rx buffers is called with size==0.  This bug
   is critical, it causes random memory corruptions on systems with an
   iommu.

Below is a minimal fix for both bugs, for 2.6.15.

TSO will be fixed properly in the next version.  Tested on x86-64.

Signed-Off-By: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 8f43d8e
History
File Mode Size
Kconfig -rw-r--r-- 9.3 KB
Makefile -rw-r--r-- 1.1 KB
aes.c -rw-r--r-- 11.3 KB
anubis.c -rw-r--r-- 27.9 KB
api.c -rw-r--r-- 5.5 KB
arc4.c -rw-r--r-- 2.0 KB
blowfish.c -rw-r--r-- 17.3 KB
cast5.c -rw-r--r-- 34.6 KB
cast6.c -rw-r--r-- 22.8 KB
cipher.c -rw-r--r-- 11.1 KB
compress.c -rw-r--r-- 1.8 KB
crc32c.c -rw-r--r-- 2.4 KB
crypto_null.c -rw-r--r-- 3.3 KB
deflate.c -rw-r--r-- 5.4 KB
des.c -rw-r--r-- 35.1 KB
digest.c -rw-r--r-- 2.5 KB
hmac.c -rw-r--r-- 3.1 KB
internal.h -rw-r--r-- 2.6 KB
khazad.c -rw-r--r-- 52.4 KB
md4.c -rw-r--r-- 6.1 KB
md5.c -rw-r--r-- 7.1 KB
michael_mic.c -rw-r--r-- 3.4 KB
proc.c -rw-r--r-- 2.7 KB
scatterwalk.c -rw-r--r-- 2.8 KB
scatterwalk.h -rw-r--r-- 2.0 KB
serpent.c -rw-r--r-- 19.8 KB
sha1.c -rw-r--r-- 3.2 KB
sha256.c -rw-r--r-- 11.1 KB
sha512.c -rw-r--r-- 10.8 KB
tcrypt.c -rw-r--r-- 29.6 KB
tcrypt.h -rw-r--r-- 100.3 KB
tea.c -rw-r--r-- 6.5 KB
tgr192.c -rw-r--r-- 31.9 KB
twofish.c -rw-r--r-- 44.9 KB
wp512.c -rw-r--r-- 60.7 KB

back to top