[PATCHv2 0/7] libfc: sanitize kref and state machine fixes

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

 



Hi all,

here is the first round of patch to fixup libfc and FCoE.
It consists of a rewrite of the libfc rport kref handling
(or, to be precise, is _implements_ rport kref handling)
and updates the 'disc_mutex' handling to match the new
kref usage.
There are also some state machine fixes to handle FLOGI
better and a fix from Chad to harden FCoE login.

As usual, comments and reviews are welcome.

Changes to v1:
- Fixup typo in fc_lport.c
- Add review tags where applicable

Chad Dupuis (2):
  libfc: Do not take rdata->rp_mutex when processing a -FC_EX_CLOSED ELS
    response.
  fcoe: Harden CVL handling when we have not logged into the fabric.

Hannes Reinecke (5):
  libfc: Revisit kref handling
  libfc: Fixup disc_mutex handling
  libfc: Do not drop down to FLOGI for fc_rport_login()
  libfc: Do not login if the port is already started
  libfc: don't advance state machine for incoming FLOGI

 drivers/scsi/fcoe/fcoe_ctlr.c |  72 ++++++++++++---
 drivers/scsi/libfc/fc_disc.c  |  38 +++++---
 drivers/scsi/libfc/fc_lport.c |   9 +-
 drivers/scsi/libfc/fc_rport.c | 197 ++++++++++++++++++++++++++++++++----------
 4 files changed, 245 insertions(+), 71 deletions(-)

-- 
1.8.5.6

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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