diff options
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 4fea3e4edaa7..0769e9482194 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -584,7 +584,7 @@ iscsi_hdr_recv(struct iscsi_conn *conn) | |||
584 | } | 584 | } |
585 | 585 | ||
586 | /* save opcode for later */ | 586 | /* save opcode for later */ |
587 | conn->in.opcode = hdr->opcode; | 587 | conn->in.opcode = hdr->opcode & ISCSI_OPCODE_MASK; |
588 | 588 | ||
589 | /* verify itt (itt encoding: age+cid+itt) */ | 589 | /* verify itt (itt encoding: age+cid+itt) */ |
590 | if (hdr->itt != cpu_to_be32(ISCSI_RESERVED_TAG)) { | 590 | if (hdr->itt != cpu_to_be32(ISCSI_RESERVED_TAG)) { |