kernel-fxtec-pro1x/drivers/infiniband/ulp/ipoib
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
..
ipoib.h IPoIB/cm: Fix performance regression on Mellanox 2007-05-29 16:07:09 -07:00
ipoib_cm.c IPoIB/cm: Partial error clean up unmaps wrong address 2007-07-02 20:48:31 -07:00
ipoib_fs.c [PATCH] mark struct file_operations const 3 2007-02-12 09:48:45 -08:00
ipoib_ib.c IPoIB/cm: Drain cq in ipoib_cm_dev_stop() 2007-05-24 14:02:40 -07:00
ipoib_main.c IPoIB: Handle P_Key table reordering 2007-05-19 08:51:54 -07:00
ipoib_multicast.c IB/ipoib: Fix typos in error messages 2007-05-21 13:29:15 -07:00
ipoib_verbs.c IPoIB/cm: Fix SRQ WR leak 2007-05-21 13:35:40 -07:00
ipoib_vlan.c IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
Kconfig IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00
Makefile IPoIB: Connected mode experimental support 2007-02-10 08:00:48 -08:00