diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-14 18:49:55 -0700 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-06-26 00:33:32 -0700 |
commit | 889c8a68b8483a8b3482ac440af3ad7368c58555 (patch) | |
tree | c2a7443fe1f4445ae41adacb9b0c482333dc7e30 /init | |
parent | 64534aa79496a3bc4f750a695fe9e978ab46e91d (diff) |
iscsi-target: Refactor ISCSI_OP_TEXT_RSP TX handling
This patch refactoring existing iscsit_send_text_rsp() in order
to handle iscsi_text_rsp payloads in a transport specific manner.
This includes the addition of iscsit_build_text_rsp() to build
the response payload and initialize ISCSI_OP_TEXT_RSP.
v2: Make iscsit_build_text_rsp() determine extra padding bytes, and
drop legacy padding calculation for traditional iSCSI text
responses within iscsit_send_text_rsp()
Reported-by: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions