kernel-ark/drivers/infiniband/hw/ipath
Ralph Campbell 16c59419a0 IB/ipath: ipath_skip_sge() can break if num_sge > 1
ipath_skip_sge() doesn't exactly duplicate the side effects of
ipath_copy_sge() if num_sge > 1 since it doesn't decrement ss->num_sge.
This could result in the sg_list being accessed out of bounds.
Since ipath_skip_sge() is almost always called with num_sge == 1,
the original "optimization" is almost never used.

Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2006-07-24 09:18:07 -07:00
..
ipath_common.h
ipath_cq.c
ipath_debug.h
ipath_diag.c
ipath_driver.c
ipath_eeprom.c
ipath_file_ops.c
ipath_fs.c
ipath_ht400.c
ipath_init_chip.c
ipath_intr.c
ipath_kernel.h
ipath_keys.c IB/ipath: Fix ib_ipath driver to work with SRP 2006-07-24 09:18:07 -07:00
ipath_layer.c
ipath_layer.h
ipath_mad.c
ipath_mr.c
ipath_pe800.c
ipath_qp.c
ipath_rc.c
ipath_registers.h
ipath_ruc.c
ipath_srq.c
ipath_stats.c
ipath_sysfs.c
ipath_uc.c
ipath_ud.c
ipath_user_pages.c
ipath_verbs_mcast.c
ipath_verbs.c IB/ipath: ipath_skip_sge() can break if num_sge > 1 2006-07-24 09:18:07 -07:00
ipath_verbs.h
ipath_wc_x86_64.c
Kconfig
Makefile
verbs_debug.h