Files
linux/drivers
Ralph Campbell 841adfca9c IPoIB/cm: Partial error clean up unmaps wrong address
If a page can't be allocated for the frag list of a skb, the code to
unmap the partially allocated list is off by one.  For exaple, if
'frags' equals one, i == 0, and the alloc_page() fails, then the old
loop would have unmapped mapping[1] which is uninitialized.  The same
would happen if the call to ib_dma_map_page() failed.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Acked-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-07-02 20:48:31 -07:00
..
2007-06-23 10:57:28 -04:00
2007-06-27 02:50:08 -04:00
2007-06-08 12:41:08 -07:00
2007-06-28 11:34:53 -07:00
2007-06-16 02:24:43 +02:00
2007-06-08 17:23:33 -07:00
2007-06-02 00:48:48 -04:00
2007-06-04 17:54:09 -07:00
2007-05-21 09:18:19 -07:00
2007-06-20 19:12:42 -04:00
2007-06-08 17:23:33 -07:00
2007-06-25 23:38:06 -07:00
2007-06-28 11:34:54 -07:00