diff options
author | 2015-06-04 19:49:19 +0300 | |
---|---|---|
committer | 2015-06-08 22:16:17 -0700 | |
commit | 9253e667ab50fd4611a60e1cdd6a6e05a1d91cf1 (patch) | |
tree | 9dbaca3c21b23740733e578e175795e5a47e7564 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | iser-target: Fix error path in isert_create_pi_ctx() (diff) | |
download | wireguard-linux-9253e667ab50fd4611a60e1cdd6a6e05a1d91cf1.tar.xz wireguard-linux-9253e667ab50fd4611a60e1cdd6a6e05a1d91cf1.zip |
iser-target: Fix variable-length response error completion
Since commit "2426bd456a6 target: Report correct response ..."
we might get a command with data_size that does not fit to
the number of allocated data sg elements. Given that we rely on
cmd t_data_nents which might be different than the data_size,
we sometimes receive local length error completion. The correct
approach would be to take the command data_size into account when
constructing the ib sg_list.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jenny Falkovich <jennyf@mellanox.com>
Cc: stable@vger.kernel.org # 3.16+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions