All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Eykholt <fcoe@eykholt.com>
To: linux-scsi@vger.kernel.org
Subject: [OpenFCoE] [PATCH] Don't deliver BLS frames to the fast path.
Date: Fri, 30 Nov 2007 10:37:28 -0800	[thread overview]
Message-ID: <47505868.20504@eykholt.com> (raw)

Don't deliver BLS frames to the fast path.

---
 drivers/scsi/ofc/libfc/fc_local_port.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/ofc/libfc/fc_local_port.c b/drivers/scsi/ofc/libfc/fc_local_port.c
index 55de5d3..66a1d47 100644
--- a/drivers/scsi/ofc/libfc/fc_local_port.c
+++ b/drivers/scsi/ofc/libfc/fc_local_port.c
@@ -1607,7 +1607,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);
--
1.5.3.6


             reply	other threads:[~2007-11-30 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 18:37 Joe Eykholt [this message]
  -- strict thread matches above, loose matches on Subject: below --
2007-12-05  0:51 [OpenFCoE PATCH] Don't deliver BLS frames to the fast path Joe Eykholt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47505868.20504@eykholt.com \
    --to=fcoe@eykholt.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.