| title: | patch libfc fix typo in retry check on receiv |
|
This is a note to let you know that we have just queued up the patch titled
Subject: [SCSI] libfc: fix typo in retry check on received PRLI
to the 2.6.32-stable tree. Its filename is
libfc-fix-typo-in-retry-check-on-received-prli.patch
A git repo of this tree can be found at
rel="nofollow" www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
From 85b5893ca97c69e409ecbb5ee90a5d99882369c4 Mon Sep 17 00:00:00 2001
From: Joe Eykholt <jeykholt@xxxxxxxxx
Date: Wed, 21 Oct 2009 16:26:45 -0700
Subject: [SCSI] libfc: fix typo in retry check on received PRLI
From: Joe Eykholt <jeykholt@xxxxxxxxx
commit 85b5893ca97c69e409ecbb5ee90a5d99882369c4 upstream.
A received Fibre Channel ELS PRLI request contains a bit that
indicates whether the remote port supports certain retry processing
sequences. The test for this bit was somehow coded to use multiply
instead of AND!
This case would apply only for target mode operation, and it is
unlikely to be noticed as an initiator.
Signed-off-by: Joe Eykholt <jeykholt@xxxxxxxxx
Signed-off-by: Robert Love <robert.w.love@xxxxxxxxx
Signed-off-by: James Bottomley <James.Bottomley@xxxxxxx
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx
---
drivers/scsi/libfc/fc_rport.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/scsi/libfc/fc_rport.c
+++ b/drivers/scsi/libfc/fc_rport.c
@@ -1402,7 +1402,7 @@ static void fc_rport_recv_prli_req(struc
break;
case FC_TYPE_FCP:
fcp_parm = ntohl(rspp- spp_params);
- if (fcp_parm * FCP_SPPF_RETRY)
+ if (fcp_parm & FCP_SPPF_RETRY)
rdata- flags |= FC_RP_FLAGS_RETRY;
rdata- supported_classes = FC_COS_CLASS3;
if (fcp_parm & FCP_SPPF_INIT_FCN)
Patches currently in stable-queue which might be from jeykholt@xxxxxxxxx are
queue-2.6.32/libfc-fix-typo-in-retry-check-on-received-prli.patch
queue-2.6.32/libfc-lport-fix-minor-documentation-errors.patch
queue-2.6.32/libfc-don-t-warn_on-in-lport_timeout-for-reset-state.patch
queue-2.6.32/libfc-fix-free-of-fc_rport_priv-with-timer-pending.patch
--
To unsubscribe from this list: send the line "unsubscribe stable-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at rel="nofollow" vger.kernel.org/majordomo-info.html vger.kernel.org/majordomo-info.html
|