From: Karen Xie Date: Sun, 17 Oct 2010 05:09:05 +0000 (-0700) Subject: [SCSI] cxgb4i: ignore informational act-open-rpl message X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=150cca7c0ed1a08d7da26bd28258c270b2e239f5;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [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 Reviewed-by: Mike Christie Signed-off-by: James Bottomley --- 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)