diff options
author | Xiubo Li <lixiubo@cmss.chinamobile.com> | 2017-03-31 10:35:25 +0800 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-04-02 16:18:51 -0700 |
commit | a5d68ba85801a78c892a0eb8efb711e293ed314b (patch) | |
tree | 54960252c514b65717105a4f600cc898f6784a02 /kernel | |
parent | 1c99de981f30b3e7868b8d20ce5479fa1c0fea46 (diff) | |
download | talos-obmc-linux-a5d68ba85801a78c892a0eb8efb711e293ed314b.tar.gz talos-obmc-linux-a5d68ba85801a78c892a0eb8efb711e293ed314b.zip |
tcmu: Skip Data-Out blocks before gathering Data-In buffer for BIDI case
For the bidirectional case, the Data-Out buffer blocks will always at
the head of the tcmu_cmd's bitmap, and before gathering the Data-In
buffer, first of all it should skip the Data-Out ones, or the device
supporting BIDI commands won't work.
Fixed: 26418649eead ("target/user: Introduce data_bitmap, replace
data_length/data_head/data_tail")
Reported-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
Tested-by: Ilias Tsitsimpis <iliastsi@arrikto.com>
Signed-off-by: Xiubo Li <lixiubo@cmss.chinamobile.com>
Cc: stable@vger.kernel.org # 4.6+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions