X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Flinux.git;a=blobdiff_plain;f=drivers%2Fscsi%2Flibfc%2Ffc_rport.c;h=89b1f1af2fd456c38e45e0a905af9a76385c1d89;hp=31d31aad3de1d3fd0f2ff58d2141cabddec474bf;hb=1550ec458e0cf1a40a170ab1f4c46e3f52860f65;hpb=63d0e3dffda311e77b9a8c500d59084e960a824a diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 31d31aad3de1d..89b1f1af2fd45 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c @@ -2164,6 +2164,7 @@ static void fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) FC_RPORT_DBG(rdata, "Received LOGO request while in state %s\n", fc_rport_state(rdata)); + rdata->flags &= ~FC_RP_STARTED; fc_rport_enter_delete(rdata, RPORT_EV_STOP); mutex_unlock(&rdata->rp_mutex); kref_put(&rdata->kref, fc_rport_destroy);