libfc: sanitize kref and state machine fixes
Status from this message: Applied to 4.10/scsi-queue.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 1 replyApplied
- v17 patches 5 repliesSuperseded
Changes to v1 from the cover letter
- Fixup typo in fc_lport.c
- Add review tags where applicable
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | libfc: Revisit kref handlingdrivers/ | +101 | 0 replies | |
| 2/7 | libfc: Fixup disc_mutex handlingdrivers/ drivers/ drivers/ +1 more | +63 | 0 replies | |
| 3/7 | libfc: Do not take rdata->rp_mutex when processing a -FC_EX_CLOSED ELS response.drivers/ | +24 | 0 replies | |
| 4/7 | libfc: Do not drop down to FLOGI for fc_rport_login()drivers/ | +5 | 0 replies | |
| 5/7 | libfc: Do not login if the port is already starteddrivers/ | +6 | 0 replies | |
| 6/7 | libfc: don't advance state machine for incoming FLOGIdrivers/ | +14 | 0 replies | |
| 7/7 | fcoe: Harden CVL handling when we have not logged into the fabric.drivers/ | +32 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Hannes Reinecke |
|---|---|---|
| 1/7 | A-b | |
| 2/7 | A-b | |
| 3/7 | A-b | R-b |
| 4/7 | A-b | |
| 5/7 | A-b | |
| 6/7 | A-b | |
| 7/7 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHv2 0/7] libfc: sanitize kref and state machine fixes
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(-)
Signature · 1 line
1.8.5.6