commit | 8cc085c7aceb78d26d0a5355e111b2330f089161 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@ftp.linux.org.uk> | Fri Dec 21 06:21:03 2007 +0000 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Dec 22 22:53:06 2007 -0500 |
tree | 3754b076639725dbb1d324d74d155f091b3f889d | |
parent | 8a5ed9efe661dd42bc140e522c2635e0d7b26141 [diff] |
typhoon: memory corruptor on big-endian if TSO is enabled txlo_dma_addr should be host-endian; we pass it to typhoon_tso_fill(), which does arithmetics on it, converts to l-e and passes it to card. Unfortunately, we forgot le32_to_cpu() when initializing it from face->txLoAddr, which sits in shared memory and is little-endian. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>