iscsi-target: fix invalid flags in text response
authorVarun Prakash <varun@chelsio.com>
Sun, 23 Jul 2017 14:33:45 +0000 (20:03 +0530)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 30 Jul 2017 22:32:48 +0000 (15:32 -0700)
commit310d40a973c560a24c79f84cb5f16dc540a05686
treec0532c34b8c0a1261aa8cbeed3a6a3b4c1b71ee6
parentea8dc5b4cd2195ee582cae28afa4164c6dea1738
iscsi-target: fix invalid flags in text response

In case of multiple text responses iscsi-target
sets both 'F' and 'C' bit for the final text response
pdu, this issue happens because hdr->flags is not
zeroed out before ORing with 'F' bit.

This patch removes the | operator to fix this issue.

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