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