From: Joe Eykholt Subject: [OpenFCoE usr PATCH] Don't deliver BLS frames to the fast path. Date: Tue, 04 Dec 2007 17:49:06 -0800 Message-ID: <20071205014906.13143.7289.stgit@mink.he.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eykholt.com ([72.52.117.41]:57255 "HELO eykholt.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751324AbXLEBtK (ORCPT ); Tue, 4 Dec 2007 20:49:10 -0500 Received: from mink.he.net ([127.0.0.1]) by eykholt.com for ; Tue, 4 Dec 2007 17:49:06 -0800 Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org Don't deliver BLS frames to the fast path. Signed-off-by: Joe Eykholt --- usr/common/libfc/src/fc/fc_local_port.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/usr/common/libfc/src/fc/fc_local_port.c b/usr/common/libfc/src/fc/fc_local_port.c index ba909d0..a798765 100644 --- a/usr/common/libfc/src/fc/fc_local_port.c +++ b/usr/common/libfc/src/fc/fc_local_port.c @@ -1611,7 +1611,8 @@ void fc_local_port_recv(struct fc_local_port *lp, struct fc_frame *fp) /* fall through */ case FC_EOF_N: mp = lp->fl_vf->vf_exch_mgr; - if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX) { + if ((f_ctl & (FC_FC_EX_CTX | FC_FC_SEQ_CTX)) == FC_FC_EX_CTX && + fh->fh_type != FC_TYPE_BLS) { fc_exch_recv_seq_resp(mp, fp); } else if (f_ctl & FC_FC_SEQ_CTX) { fc_exch_recv_resp(mp, fp);