diff options
author | tangwenji <[email protected]> | 2017-08-17 19:51:54 +0800 |
---|---|---|
committer | Nicholas Bellinger <[email protected]> | 2017-11-04 14:45:21 -0700 |
commit | c58a252beb04cf0e02d6a746b2ed7ea89b6deb71 (patch) | |
tree | 785099e62f55e4ff5e580b2109377ec3d9858daa /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 88fb2fa7db7510bf1078226ab48d162d9854f3d4 (diff) |
target: fix buffer offset in core_scsi3_pri_read_full_status
When at least two initiators register pr on the same LUN,
the target returns the exception data due to buffer offset
error, therefore the initiator executes command 'sg_persist -s'
may cause the initiator to appear segfault error.
This fixes a regression originally introduced by:
commit a85d667e58bddf73be84d1981b41eaac985ed216
Author: Bart Van Assche <[email protected]>
Date: Tue May 23 16:48:27 2017 -0700
target: Use {get,put}_unaligned_be*() instead of open coding these functions
Signed-off-by: tangwenji <[email protected]>
Cc: [email protected] # 4.13+
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions