All of lore.kernel.org
 help / color / mirror / Atom feed
* [OpenFCoE] [PATCH] (user-level) Don't deliver BLS frames to the fast path.
@ 2007-11-30 18:55 Joe Eykholt
  0 siblings, 0 replies; only message in thread
From: Joe Eykholt @ 2007-11-30 18:55 UTC (permalink / raw)
  To: linux-scsi

Don't deliver BLS frames to the fast path.

---
 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);
--
1.5.3.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2007-11-30 18:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 18:55 [OpenFCoE] [PATCH] (user-level) Don't deliver BLS frames to the fast path Joe Eykholt

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.