iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU
authorNicholas Bellinger <nab@linux-iscsi.org>
Sun, 23 Sep 2012 00:21:06 +0000 (17:21 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:48:42 +0000 (03:48 +0100)
commit68c333c5d6ebaf6468fa25b774396c7f359f316d
tree112ec4c469f050b4b0a4a73212860b9a1e0f258b
parent320c688c8963c531f4c6228f326d65f1b9aad866
iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU

commit f25590f39d543272f7ae7b00d533359c8d7ff331 upstream.

This patch adds a missing iscsi_reject->ffffffff assignment within
iscsit_send_reject() code to properly follow RFC-3720 Section 10.17
Bytes 16 -> 19 for the PDU format definition of ISCSI_OP_REJECT.

We've not seen any initiators care about this bytes in practice, but
as Ronnie reported this was causing trouble with wireshark packet
decoding lets go ahead and fix this up now.

Reported-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/target/iscsi/iscsi_target.c