aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorAlexei Potashnik <[email protected]>2015-07-20 17:12:12 -0700
committerNicholas Bellinger <[email protected]>2015-07-30 23:32:57 -0700
commitaa75679c797c0250a853e600e45368f1f9545c27 (patch)
tree539af1509f3220e8f19d9aa0f47080296d8e4457 /net/lapb/lapb_subr.c
parentb6a54b8d895648d915c7e8308f3d3e6bf2505d69 (diff)
target/iscsi: Use proper SGL accessors for digest computation
Current implementation assumes that all the buffers of an IO are linked with a single SG list, which is OK because target-core is only allocating a contigious scatterlist region. However, this assumption is wrong for se_cmd descriptors that want to use chaining across multiple SGL regions. Fix this up by using proper SGL accessors for digest payload computation. Signed-off-by: Alexei Potashnik <[email protected]> Cc: Roland Dreier <[email protected]> Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions