net: Fix off-by-one in skb_dma_map
authorDimitris Michailidis <dm@chelsio.com>
Mon, 13 Oct 2008 04:07:34 +0000 (21:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Oct 2008 04:07:34 +0000 (21:07 -0700)
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>

No differences found