summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorRalph Campbell <ralphc@pathscale.com>2006-07-18 03:21:24 +0200
committerRoland Dreier <rolandd@cisco.com>2006-07-24 18:18:07 +0200
commit16c59419a09f0140a07a1828d6a45656265e07c7 (patch)
tree561234eaf2a32f143566f62ef660f1cac2b68ebf /ipc
parentIB/ipath: Fix ib_ipath driver to work with SRP (diff)
downloadlinux-16c59419a09f0140a07a1828d6a45656265e07c7.tar.xz
linux-16c59419a09f0140a07a1828d6a45656265e07c7.zip
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions