Messages in this thread | | | Date | Wed, 8 Aug 2012 19:57:12 +0300 | From | Dan Carpenter <> | Subject | Re: [SCSI] qla4xxx: support iscsiadm session mgmt |
| |
On Wed, Aug 08, 2012 at 10:35:44AM -0500, Mike Christie wrote: > On 08/08/2012 10:00 AM, Dan Carpenter wrote: > > I never heard back on this. This buffer overflow is still present > > in the current code. > > > > Qlogic just sent a patch yesterday. > http://marc.info/?l=linux-scsi&m=134434199930938&w=2
Ah, good.
It seems like qla4xxx_ep_connect() should take a pointer to struct sockaddr_storage and also dst_addr in qla4xxx_get_ep_fwdb() should be changed as well. As in:
static struct iscsi_endpoint * -qla4xxx_ep_connect(struct Scsi_Host *shost, struct sockaddr *dst_addr, +qla4xxx_ep_connect(struct Scsi_Host *shost, struct sockaddr_storage *dst_addr, int non_blocking)
regards, dan carpenter
| |