summary refs log tree commit diff
diff options
context:
space:
mode:
authorKaren Xie <kxie@chelsio.com>2010-10-16 22:09:05 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-10-25 16:09:57 -0500
commit150cca7c0ed1a08d7da26bd28258c270b2e239f5 (patch)
tree4294517bd317953fcae8092c9b4ad3c45c96b09c
parent38170fa8e66bb75fe806bdc91657732aef0eae90 (diff)
downloadlinux-150cca7c0ed1a08d7da26bd28258c270b2e239f5.tar.gz
[SCSI] cxgb4i: ignore informational act-open-rpl message
Ignore active open reply with status negative advice. This is an
informational message.

Signed-off-by: Karen Xie <kxie@chelsio.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r--drivers/scsi/cxgbi/cxgb4i/cxgb4i.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
index 99f2b8c5dd63..8c04fada710b 100644
--- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
+++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
@@ -692,6 +692,9 @@ static void do_act_open_rpl(struct cxgbi_device *cdev, struct sk_buff *skb)
 		&csk->daddr.sin_addr.s_addr, ntohs(csk->daddr.sin_port),
 		atid, tid, status, csk, csk->state, csk->flags);
 
+	if (status == CPL_ERR_RTX_NEG_ADVICE)
+		goto rel_skb;
+
 	if (status && status != CPL_ERR_TCAM_FULL &&
 	    status != CPL_ERR_CONN_EXIST &&
 	    status != CPL_ERR_ARP_MISS)