diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2007-03-08 23:19:11 +0100 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-03-11 16:42:17 +0100 |
commit | 5daa49ef05c44ce94bed0bab0f9ba4a9e952863b (patch) | |
tree | 7af047846343ffee0d047a60c9ad81e2d5de8e76 /drivers/message | |
parent | Revert "USB: pxa2xx_udc: fix hardcoded irq number" (diff) | |
download | linux-5daa49ef05c44ce94bed0bab0f9ba4a9e952863b.tar.xz linux-5daa49ef05c44ce94bed0bab0f9ba4a9e952863b.zip |
[SCSI] lpfc: avoid double-free during PCI error failure
If a PCI error is detected that cannot be recovered from, there
will be a double call of lpfc_pci_remove_one(), with the second call
resulting in a null-pointer dereference. The first call occurs in
lpfc_io_error_detected(), and the second call during pci device
remove. This patch eliminates the first call; its un-needed.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: James Smart <James.Smart@Emulex.Com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions