diff options
author | James Smart <James.Smart@Emulex.Com> | 2008-02-08 18:50:14 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-02-11 18:52:58 -0500 |
commit | 7f5f3d0d02aa2f124e764aee5c775589ce72fd42 (patch) | |
tree | 511bc7777d9053acbb04215bb682f534d88942f6 /drivers/scsi/lpfc/lpfc_mem.c | |
parent | db2378e09151c855e8f92c1b4b2fb4fc5cd8cb40 (diff) |
[SCSI] lpfc 8.2.5 : Miscellaneous discovery Fixes
Miscellaneous discovery fixes:
- Flush RSCN buffers on vports when reseting HBA.
- Fix incorrect FLOGI after vport reg failed
- Fix a potential fabric ELS race condition
- Fix handling of failed PLOGI command under high lip rates
- Fix FDISC handling
- Fix debug logging for npiv handling
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_mem.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_mem.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_mem.c b/drivers/scsi/lpfc/lpfc_mem.c index 6dc5ab8d6716..27448c98c07a 100644 --- a/drivers/scsi/lpfc/lpfc_mem.c +++ b/drivers/scsi/lpfc/lpfc_mem.c | |||
@@ -265,6 +265,9 @@ lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) | |||
265 | { | 265 | { |
266 | struct hbq_dmabuf *hbq_entry; | 266 | struct hbq_dmabuf *hbq_entry; |
267 | 267 | ||
268 | if (!mp) | ||
269 | return; | ||
270 | |||
268 | if (phba->sli3_options & LPFC_SLI3_HBQ_ENABLED) { | 271 | if (phba->sli3_options & LPFC_SLI3_HBQ_ENABLED) { |
269 | hbq_entry = container_of(mp, struct hbq_dmabuf, dbuf); | 272 | hbq_entry = container_of(mp, struct hbq_dmabuf, dbuf); |
270 | if (hbq_entry->tag == -1) { | 273 | if (hbq_entry->tag == -1) { |
@@ -279,4 +282,3 @@ lpfc_in_buf_free(struct lpfc_hba *phba, struct lpfc_dmabuf *mp) | |||
279 | } | 282 | } |
280 | return; | 283 | return; |
281 | } | 284 | } |
282 | |||