lpfc: Fix for initializing RRQ bitmap
Fix for initializing RRQ bitmap Signed-off-by: James Smart <james.smart@emulex.com> Reviewed-By: Dick Kennedy <dick.kennedy@emulex.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
68e814f587
commit
59c5f61fca
@ -5634,6 +5634,9 @@ lpfc_nlp_init(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
|
||||
ndlp->active_rrqs_xri_bitmap =
|
||||
mempool_alloc(vport->phba->active_rrq_pool,
|
||||
GFP_KERNEL);
|
||||
if (ndlp->active_rrqs_xri_bitmap)
|
||||
memset(ndlp->active_rrqs_xri_bitmap, 0,
|
||||
ndlp->phba->cfg_rrq_xri_bitmap_sz);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user