commit | ab396eb03f33a2e2afb7b0603a43929bf5857c45 | [log] [tgz] |
---|---|---|
author | Dimitris Michailidis <dm@chelsio.com> | Sun Oct 12 21:07:34 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 12 21:07:34 2008 -0700 |
tree | df6bd3b974563d3b5ee1865e7ad34936624cbdfd | |
parent | c6dcb8278876ebf266e2088b0b45b28aa66b7693 [diff] |
net: Fix off-by-one in skb_dma_map 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>