[OpenFCoE PATCH] Don't deliver BLS frames to the fast path.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don't deliver BLS frames to the fast path.



Signed-off-by: Joe Eykholt <fcoe@xxxxxxxxxxx>

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


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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux