]> err.no Git - linux-2.6/commit
pasemi_mac: fix bug in receive buffer dma mapping
authorOlof Johansson <olof@lixom.net>
Tue, 2 Oct 2007 21:25:14 +0000 (16:25 -0500)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:54:22 +0000 (16:54 -0700)
commit18eec695427ce1258fb5dad0ac180fa4d6f64af7
tree36cd3b0ba6748e367495481246f4d7e3f6596ec7
parent69c29d89185dc1de7224f5f98588ddc061f1fad2
pasemi_mac: fix bug in receive buffer dma mapping

pasemi_mac: fix bug in receive buffer dma mapping

skb->len isn't actually set to the size of the allocated skb, so don't
try to use it when figuring out how much to map.

(This hasn't surfaced as a real bug because we effectively disable
translation for the interface, but it still needs fixing for the future)

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/pasemi_mac.c