aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/core/skb_dma_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/skb_dma_map.c b/net/core/skb_dma_map.c
index 1f49afcd8e86..86234923a3b7 100644
--- a/net/core/skb_dma_map.c
+++ b/net/core/skb_dma_map.c
@@ -35,7 +35,7 @@ int skb_dma_map(struct device *dev, struct sk_buff *skb,
35 return 0; 35 return 0;
36 36
37unwind: 37unwind:
38 while (i-- >= 0) { 38 while (--i >= 0) {
39 skb_frag_t *fp = &sp->frags[i]; 39 skb_frag_t *fp = &sp->frags[i];
40 40
41 dma_unmap_page(dev, sp->dma_maps[i + 1], 41 dma_unmap_page(dev, sp->dma_maps[i + 1],