RE: [PATCH 1/1] bfa: Fixes for 0-terminated strncpy and possible null pointer dereference

2013-05-23 Thread Vijay Mohan Guvva
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Jakob Normark > Sent: Thursday, May 16, 2013 1:12 AM > To: Anil Gurumurthy; Vijay Mohan Guvva; James E.J. Bottomley > Cc: linux-scsi@vger.ker

RE: [PATCH V1 00/17] Update the driver version to 3.2.21.1

2013-05-23 Thread Vijay Mohan Guvva
> -Original Message- > From: Vijay Mohan Guvva > Sent: Monday, May 13, 2013 3:03 PM > To: linux-scsi@vger.kernel.org > Cc: jbottom...@parallels.com; Adapter Linux Open SRC Team; Vijay Mohan > Guvva > Subject: [PATCH V1 00/17] Update the driver version to 3.2.21.

[PATCH] bfa: fix for FC Direct Attach LUN discovery failure

2013-05-13 Thread Vijay Mohan Guvva
Resending the patch as it didn't make the linux-scsi list. This patch fixes fcs rport state machine to address ocassional Brocade FC Direct Attach LUN discovery failure due to not sending PLOGI accept to the target. Signed-off-by: Vijaya Mohan Guvva --- drivers/scsi/bfa/bfa_fcs_rport.c | 4 ++--

[PATCH V1] bfa: fix faulty handling of events in lps sm

2013-05-13 Thread Vijay Mohan Guvva
Resending the patch as it didn't make the link-scsi list. When a switch disable/enable or a reboot is done, the HBA port gets an offline and a subsequent online notification. When the port comes up a link up notification is sent to bfa from the firmware. The bfa then send an FLOGI to the firmware

RE: [PATCH] bfa: Fix possible NULL pointer dereference & magic no

2013-03-11 Thread Vijay Mohan Guvva
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of Syam Sidhardhan > Sent: Sunday, February 24, 2013 3:08 PM > To: linux-scsi@vger.kernel.org > Cc: syamsidha...@gmail.com; Anil Gurumurthy; Vijay Moha

RE: [PATCH v2][RFC] scsi_transport_fc: Implement I_T nexus reset

2013-03-11 Thread Vijay Mohan Guvva
> -Original Message- > From: linux-scsi-ow...@vger.kernel.org [mailto:linux-scsi- > ow...@vger.kernel.org] On Behalf Of James Smart > Sent: Monday, March 11, 2013 11:04 AM > To: Hannes Reinecke > Cc: Jeremy Linton; Mike Christie; linux-scsi@vger.kernel.org; Andrew > Vasquez; Chad Dupuis; Ro

RE: [patch] [SCSI] bfa: Use GFP_ATOMIC under spin_lock

2013-03-11 Thread Vijay Mohan Guvva
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, March 08, 2013 4:01 AM > To: Anil Gurumurthy > Cc: Vijay Mohan Guvva; James E.J. Bottomley; linux-scsi@vger.kernel.org; > linux-ker...@vger.kernel.org; kernel-janit...@vger.ke

RE: [PATCH] bfa: avoid buffer overrun for 12-byte model name

2012-12-23 Thread Vijay Mohan Guvva
Hi Jim, Due to BFA_FCS_PORT_SYMBNAME_MODEL_SZ macro value of 12, we are missing some part of the model name in port/node symbolic name and seeing issues related to null termination. Mismatch between the actual model size and number of bytes copied to symbolic name is a bug. Can you please fix th