projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd529a4
)
[SCSI] libiscsi: fix aen support
author
Mike Christie
<michaelc@cs.wisc.edu>
Mon, 16 Oct 2006 22:09:41 +0000
(18:09 -0400)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:14:01 +0000
(15:14 -0700)
We have been dropping the pdu. We should just send it to userspace
and let it handle it.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libiscsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/libiscsi.c
b/drivers/scsi/libiscsi.c
index e3a2ec253cf14d7959253edcb5f7b269dfa0d752..f5a9560b357fb7b3fa644bad934595cbd5206c42 100644
(file)
--- a/
drivers/scsi/libiscsi.c
+++ b/
drivers/scsi/libiscsi.c
@@
-481,8
+481,8
@@
int __iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr,
break;
case ISCSI_OP_ASYNC_EVENT:
conn->exp_statsn = be32_to_cpu(hdr->statsn) + 1;
- /* we need sth like iscsi_async_event_rsp() */
-
rc = ISCSI_ERR_BAD_OPCODE
;
+ if (iscsi_recv_pdu(conn->cls_conn, hdr, data, datalen))
+
rc = ISCSI_ERR_CONN_FAILED
;
break;
default:
rc = ISCSI_ERR_BAD_OPCODE;