iser-target: Fix isert_put_reject payload buffer post
authorNicholas Bellinger <nab@linux-iscsi.org>
Wed, 26 Jun 2013 09:31:42 +0000 (02:31 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 7 Jul 2013 04:59:35 +0000 (21:59 -0700)
commit3df8f68aaf7ebe3d136a22262b41b350b0a1858b
treedcd3d1a1013a060ff909b85986f93cbee509dbbf
parent4f45d320ba97ad2f1107a56e8b2af0dd7e764502
iser-target: Fix isert_put_reject payload buffer post

This patch adds the missing isert_put_reject() logic to post
a outgoing payload buffer to hold the 48 bytes of original PDU
header request payload for the rejected cmd.

It also fixes ISTATE_SEND_REJECT handling in isert_response_completion()
-> isert_do_control_comp() code, and drops incorrect iscsi_cmd_t->reject_comp
usage.

Cc: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Mike Christie <michaelc@cs.wisc.edu>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/infiniband/ulp/isert/ib_isert.c