The following series primarily implements fixes in fc_rport and fc_lport
related to incoming ELS requests.
The lookup for the remote port has been moved into fc_rport from fc_lport,
because, in the case of PLOGI and LOGO, the requests need not be for
an existing rport.
The rport lookup was done without holding the discovery lock.
When a remote port that is in our discovered list sends a LOGO, accept
it but then send it a PLOGI to try to re-login.
Also, debugging messages were improved to aid in testing these fixes.
These are reorganized patches that were part of the June 17 submission.
---
Joe Eykholt (7):
libfc: LOGO response code had extraeous enter_rtv
libfc: re-login to remote ports that send us LOGO
libfc: fix rport error handling for login-required and invalid ops
libfc: correctly handle incoming PLOGI request.
libfc: improve debug messages for ELS response handlers
libfc: fix: rport_recv_req needs disc_mutex when calling rport_lookup
libfc: move remote port lookup for ELS requests into fc_rport.c.
drivers/scsi/libfc/fc_elsct.c | 38 ++++
drivers/scsi/libfc/fc_lport.c | 50 +-----
drivers/scsi/libfc/fc_rport.c | 367 ++++++++++++++++++++++++-----------------
include/scsi/libfc.h | 7 +
4 files changed, 269 insertions(+), 193 deletions(-)
--
Signature
_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel