Received: by 10.223.164.202 with SMTP id h10csp3532876wrb; Sat, 25 Nov 2017 10:39:49 -0800 (PST) X-Google-Smtp-Source: AGs4zMarWZdmNfXGBJs1v+uut/79AUjrBVEvGMr+QJr6b34SwqAsa0nBlM8zCAg9hke92wfzMNDK X-Received: by 10.101.100.136 with SMTP id e8mr5968330pgv.248.1511635189634; Sat, 25 Nov 2017 10:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511635189; cv=none; d=google.com; s=arc-20160816; b=GcTX6oPIb4F14yQVYwPhUZnqpBdVpQV7bg6QGfuUcF60L4aYW3L1gnIndMlnwl3ZZb rq1FPZRalqSlRV4I+a0uKp/llBnUJ2JUEBnDzhot7Gs4MaUmTJLt6Y5cmfEBWsUFA9bW 4k5E7rMC3c6pBk5VI8nLW1QRBuF0OjB20fYMUcaATNh4MRQ/jsMUeG2yEDVeRoRvJg0m akkHyYA4BYeeGJNe443X6z/Feru2sfEqKPo4D1CvQnnXs8CtFzw5Lw63Hz2Yk1+SFSW2 qklUQkKE3I0YAsSq9XUJftlGo60HNz4F6Nxm2Hdi1YiBedPD/K5bIwIfjPbeqqq/xUJk pOGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=8qMVrLMK881x2d/cuawS8l0BHZqm2g4bRMJkS6hwI20=; b=TxI5Q6eUjjYQT2VsTAuwcPdZshCuhcD0WDXYHNK2dZWJUhsLxshSfFvOSdQFa/r0fU ZMWGM0E8tfvX8WTfJkBsamgGf6TovGcuMXMvYGBghU2F6K5Qc9th5K02zm1ab/BXxrlu ibiIB8/Dnwz3ekVxdrvXPHCYskl2Zk7BlI2orgXcp1zjSfeEzrurTumT1HAvhUHCQMyg uW/GWi0LzcSWv+7ptKskBZ4SAQnSKqsE0KM3yVNpIZ337/Kv6GfflyOMw7ouBiyCX7oa 889K0xUO45ltaQCiyTK0aFATt3qx4pgvWhiFx5TTPecnSju8HQ//X9UtotJ6A44+skNG SAsA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si19978598pgt.664.2017.11.25.10.39.35; Sat, 25 Nov 2017 10:39:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751631AbdKYSjA (ORCPT + 81 others); Sat, 25 Nov 2017 13:39:00 -0500 Received: from smtp.nue.novell.com ([195.135.221.5]:39157 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750808AbdKYSi7 (ORCPT ); Sat, 25 Nov 2017 13:38:59 -0500 Received: from emea4-mta.ukb.novell.com ([10.120.13.87]) by smtp.nue.novell.com with ESMTP (TLS encrypted); Sat, 25 Nov 2017 19:38:57 +0100 Received: from apollon.suse.de.de (nwb-a10-snat.microfocus.com [10.120.13.201]) by emea4-mta.ukb.novell.com with ESMTP (TLS encrypted); Sat, 25 Nov 2017 18:38:49 +0000 From: Martin Wilck To: Johannes Thumshirn , "Martin K. Petersen" Cc: Martin Wilck , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Chad Dupuis Subject: [PATCH] scsi: libfc: fix ELS request handling Date: Sat, 25 Nov 2017 19:38:10 +0100 Message-Id: <20171125183810.20035-1-mwilck@suse.com> X-Mailer: git-send-email 2.15.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The modification of fc_lport_recv_els_req() in commit fcabb09e59a7 (merged in 4.12-rc1) caused certain requests not to be handled at all. Fix that. Fixes: fcabb09e59a7 "scsi: libfc: directly call ELS request handlers" Signed-off-by: Martin Wilck --- drivers/scsi/libfc/fc_lport.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 2fd0ec651170..787e82435241 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -904,10 +904,14 @@ static void fc_lport_recv_els_req(struct fc_lport *lport, case ELS_FLOGI: if (!lport->point_to_multipoint) fc_lport_recv_flogi_req(lport, fp); + else + fc_rport_recv_req(lport, fp); break; case ELS_LOGO: if (fc_frame_sid(fp) == FC_FID_FLOGI) fc_lport_recv_logo_req(lport, fp); + else + fc_rport_recv_req(lport, fp); break; case ELS_RSCN: lport->tt.disc_recv_req(lport, fp); -- 2.15.0 From 1585501372590116387@xxx Thu Nov 30 14:25:37 +0000 2017 X-GM-THRID: 1584949130638047985 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread