Skip to contentSkip to conversation

Don't deliver BLS frames to the fast path.

PATCH New Joe Eykholt 1 participant 1 message Dec 5, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't deliver BLS frames to the fast path.

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(-)
usr/common/libfc/src/fc/fc_local_port.c +2 -1
index ba909d0..a798765 100644
@@ -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);