ramips: DMA map the correct RX skb size
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Nov 2010 10:01:16 +0000 (10:01 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 24 Nov 2010 10:01:16 +0000 (10:01 +0000)
commit37b545f00f84de7544744792a246cd9ae7917675
treef5782facd1236f3d094d3756cf91514df79b8649
parentc5233949252af88f05848e9b4075fb19822c4ee6
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24123 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ramips/files/drivers/net/ramips.c
This page took 0.023431 seconds and 4 git commands to generate.