[PATCH 0/5] qedf: fixup NULL pointer reference in fc_lookup_rport()

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

 



Hi all,

occasionally the qedf driver will crash in fc_lookup_rport() due to missing
locking and incorrect reference counting of the fc_rport_priv() structure
from libfc. This patchset fixes up the reference counting and ensures that
the locking rules of libfc are followed.

As usual, comments and reviews are welcome.

Hannes Reinecke (5):
  qedf: fixup bit operations
  qedf: fixup locking in qedf_restart_rport()
  qedf: missing kref_put in qedf_xmit()
  qedf: remove stale variables in qedf_eh_XXX functions
  qedf: fc_rport_priv reference counting fixes

 drivers/scsi/qedf/qedf_els.c  | 26 ++++++++++++++++++++++----
 drivers/scsi/qedf/qedf_io.c   | 32 ++++++++++++++++++++++----------
 drivers/scsi/qedf/qedf_main.c | 25 ++++++++++++-------------
 3 files changed, 56 insertions(+), 27 deletions(-)

-- 
2.16.4




[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