iscsi-target: fix iscsi cmd leak
authorVarun Prakash <varun@chelsio.com>
Thu, 15 Sep 2016 15:50:11 +0000 (21:20 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Thu, 20 Oct 2016 04:22:31 +0000 (21:22 -0700)
commit1a40f0a36fb669226f0fd29aaece5ff7b6399e80
tree02c2cc8b191f6d8b26f1a44527341b39795b3acd
parent3fc6a642e4355abef986b2dd11672216fb18212e
iscsi-target: fix iscsi cmd leak

If iscsi-target receives NOP OUT with ITT and TTT
set to 0xffffffff it allocates iscsi_cmd but
does not free the cmd, so free iscsi_cmd in this case.

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c