via-velocity: Fix DMA mapping length errors on transmit.
authorDave Jones <davej@redhat.com>
Fri, 13 Mar 2009 20:37:46 +0000 (13:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Mar 2009 20:37:46 +0000 (13:37 -0700)
commit59f8e169e25c5fce91826412c38359ecaf940b82
tree7c61347ad22e84ee3c1d3c9c42f8e99afb6e9ca5
parent855b0993f216a9b0f9cb33573bd05e314105d86c
via-velocity: Fix DMA mapping length errors on transmit.

From: Dave Jones <davej@redhat.com>

The dma-debug changes caught that this driver uses the
wrong DMA mapping length when skb_padto() does something.

With suggestions from Eric Dumazet.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-velocity.c