]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 23 Sep 2012 00:27:35 +0000 (17:27 -0700)
commitf25590f39d543272f7ae7b00d533359c8d7ff331
treed1484b34d459bd9de1724cf90dd1bbfa38831483
parentb659f4b4ff52b14dcef4848e3f434b3582842960
iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU

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>
Cc: stable@vger.kernel.org
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c