diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-11-11 23:34:31 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 19:01:35 +0100 |
commit | 4f704dc03297406ea5d53b85c4666c60f69000bf (patch) | |
tree | ee226b0502ab1b5ad5473615aab004dd2ba0a851 /include/asm-generic/termbits.h | |
parent | [SCSI] bnx2i: use common iscsi suspend queue (diff) | |
download | linux-4f704dc03297406ea5d53b85c4666c60f69000bf.tar.xz linux-4f704dc03297406ea5d53b85c4666c60f69000bf.zip |
[SCSI] libiscsi: fix login/text checks in pdu injection code
For some reason we used to check for the the immediate bit
set and the opcocde in many places instead of just masking
the opcode. In the passthrough code this is a problem
because userspace may or may not have set the immediate bit
and it does not have to. This fixes up the opcode checks
in the passthrough code, so we mask off the opcode then
check against the iscsi proto definition like is done in
other places.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/asm-generic/termbits.h')
0 files changed, 0 insertions, 0 deletions