[SCSI] lpfc 8.3.0 : Fix some memory handling issues
authorJames Smart <James.Smart@Emulex.Com>
Fri, 5 Dec 2008 03:39:40 +0000 (22:39 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 29 Dec 2008 17:24:27 +0000 (11:24 -0600)
commit9f1e1b50ab43a281dbc75c25f11e1926a9ea367a
treea88f66e6205bd1dbff333b1a9da9fb62cd6f0cd5
parent5b75da2fa2c9570c3c3dbb2f63cae5b4183e0ca3
[SCSI] lpfc 8.3.0 : Fix some memory handling issues

- Fix mailbox buffer leak on dump mailbox completion

- Fix mbuf leak in lpfc_pci_probe_one() SLI-2 mode error path

- Don't allocate HBQs in interrupt context

- Use correct size for FCP response buffer so that all available sense
  data is copied

- Fix jiffies calculation to prevent crash when collecting statistical
  data

Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c