Don't deliver BLS frames to the fast path.


Signed-off-by: Joe Eykholt <[EMAIL PROTECTED]>

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


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to