iscsi-target: Add missing F_BIT for iscsi_tm_rsp
authorNicholas Bellinger <nab@linux-iscsi.org>
Mon, 28 Nov 2011 06:25:14 +0000 (22:25 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 6 Dec 2011 06:00:54 +0000 (06:00 +0000)
commit7ae0b1038f9f7d4c91e9afd4dbbc98210bf1a241
treef022457108c11b5a90d10634f2abbbf1147b2271
parent7e46cf02687e40197ae07c623e660be2a2720064
iscsi-target: Add missing F_BIT for iscsi_tm_rsp

This patch sets the missing ISCSI_FLAG_CMD_FINAL bit in
iscsit_send_task_mgt_rsp() for a struct iscsi_tm_rsp PDU.

This usage is hardcoded for all TM response PDUs in RFC-3720
section 10.6.

Reported-by: whucecil <whucecil1999@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c