summaryrefslogtreecommitdiff
path: root/net/core/skb_dma_map.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-12net: Fix off-by-one in skb_dma_mapDimitris Michailidis1-1/+1
The unwind loop iterates down to -1 instead of stopping at 0 and ends up accessing ->frags[-1]. Signed-off-by: Dimitris Michailidis <dm@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2008-09-11net: Add SKB DMA mapping helper functions.David S. Miller1-0/+66
Signed-off-by: David S. Miller <davem@davemloft.net>