summaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth_ethtool.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2007-12-21 07:21:03 +0100
committerJeff Garzik <jeff@garzik.org>2007-12-23 04:53:06 +0100
commit8cc085c7aceb78d26d0a5355e111b2330f089161 (patch)
tree3754b076639725dbb1d324d74d155f091b3f889d /drivers/net/ucc_geth_ethtool.c
parenttyphoon: missed rx overruns on big-endian (diff)
downloadlinux-8cc085c7aceb78d26d0a5355e111b2330f089161.tar.xz
linux-8cc085c7aceb78d26d0a5355e111b2330f089161.zip
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>
Diffstat (limited to 'drivers/net/ucc_geth_ethtool.c')
0 files changed, 0 insertions, 0 deletions