summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2016-09-25 17:41:32 +0300
committerDoug Ledford <dledford@redhat.com>2016-10-02 15:42:13 +0300
commita4309d94f71067f622a1d4e65d8d0fc4710beefd (patch)
tree5953d93bf8e82c1ffc4eb5913909a3f145fd829e /tools/perf/scripts/python/export-to-postgresql.py
parentd5cf683e627ae0c4f338bf175fe4e12584acdc0f (diff)
downloadlinux-a4309d94f71067f622a1d4e65d8d0fc4710beefd.tar.xz
IB/hfi1: Do not read more than a SGE length
In certain cases, if the tail of an SGE is not 8-byte aligned, bytes beyond the end to an 8-byte alignment can be read. Change the copy routine to avoid the over-read. Instead, stop on the final whole quad-word, then read the remaining bytes. Reviewed-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions