Re: [PATCH 01/15] lpfc: Fix used-RPI accounting problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/10/2017 09:06 PM, James Smart wrote:
> With 255 vports created a link trasition can casue a crash.
> 
> When going through discovery after a link bounce the driver is using
> rpis before the cmd FCOE_POST_HDR_TEMPLATES completes. By doing that
> the next rpi bumps the rpi range out of the boundary.
> 
> The fix it to increment the next_rpi only when the FCOE_POST_HDR_TEMPLATE
> succeeds.
> 
> Signed-off-by: Dick Kennedy <dick.kennedy@xxxxxxxxxxxx>
> Signed-off-by: James Smart <james.smart@xxxxxxxxxxxx>
> ---
>  drivers/scsi/lpfc/lpfc_els.c  |  3 ++-
>  drivers/scsi/lpfc/lpfc_init.c | 24 +++++-------------------
>  drivers/scsi/lpfc/lpfc_sli.c  |  8 ++++++++
>  drivers/scsi/lpfc/lpfc_sli4.h |  1 +
>  4 files changed, 16 insertions(+), 20 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		   Teamlead Storage & Networking
hare@xxxxxxx			               +49 911 74053 688
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton
HRB 21284 (AG Nürnberg)



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux