diff options
| author | Varun Prakash <[email protected]> | 2020-08-25 12:35:10 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-09-02 01:25:38 +0000 |
| commit | 5528d03183fe5243416c706f64b1faa518b05130 (patch) | |
| tree | 932b63ac195b7f882ec02f2dca6e29f22ec1dc4e /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | scsi: lpfc: Update lpfc version to 12.8.0.4 (diff) | |
| download | kernel-5528d03183fe5243416c706f64b1faa518b05130.tar.gz kernel-5528d03183fe5243416c706f64b1faa518b05130.zip | |
scsi: target: iscsi: Fix data digest calculation
Current code does not consider 'page_off' in data digest calculation. To
fix this, add a local variable 'first_sg' and set first_sg.offset to
sg->offset + page_off.
Link: https://lore.kernel.org/r/[email protected]
Fixes: e48354ce078c ("iscsi-target: Add iSCSI fabric support for target v4.1")
Cc: <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Varun Prakash <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
