OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b496953
)
Revert "scsi: qla2xxx: Fix buffer overrun"
author
Nilesh Javali
<njavali@marvell.com>
Mon, 21 Aug 2023 13:00:44 +0000
(18:30 +0530)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Mon, 21 Aug 2023 21:45:15 +0000
(17:45 -0400)
Revert due to Get PLOGI Template failed.
This reverts commit
b68710a8094fdffe8dd4f7a82c82649f479bb453
.
Cc: stable@vger.kernel.org
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Link:
https://lore.kernel.org/r/20230821130045.34850-9-njavali@marvell.com
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_init.c
b/drivers/scsi/qla2xxx/qla_init.c
index
df2c69c
..
82077ed
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_init.c
+++ b/
drivers/scsi/qla2xxx/qla_init.c
@@
-5607,7
+5607,7
@@
static void qla_get_login_template(scsi_qla_host_t *vha)
__be32 *q;
memset(ha->init_cb, 0, ha->init_cb_size);
- sz = min_t(int, sizeof(struct fc_els_
csp
), ha->init_cb_size);
+ sz = min_t(int, sizeof(struct fc_els_
flogi
), ha->init_cb_size);
rval = qla24xx_get_port_login_templ(vha, ha->init_cb_dma,
ha->init_cb, sz);
if (rval != QLA_SUCCESS) {