Don't deliver BLS frames to the fast path.
PATCH 1/1 Don't deliver BLS frames to the fast path.
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(-)
drivers/scsi/ofc/libfc/fc_local_port.c +2 -1
@@ -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