ramips: DMA map the correct RX skb size
authorGabor Juhos <juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:16 +0000 (10:01 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 24 Nov 2010 10:01:16 +0000 (10:01 +0000)
commit5555b54f95b4fab888373d25a1e5501f3c164f8a
treef5782facd1236f3d094d3756cf91514df79b8649
parenta56c12c90c286735d336239e222730752ab6bae0
ramips: DMA map the correct RX skb size

The skb_reserve call prior to DMA mapping the RX skb reduced the skb
data len by 2. To not allow DMA to write behind the skb we should pass
the correct skb data len to the device.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
SVN-Revision: 24123
target/linux/ramips/files/drivers/net/ramips.c