iw_cxgb4: remove false error log entry
authorHariprasad Shenai <hariprasad@chelsio.com>
Fri, 5 Feb 2016 06:13:29 +0000 (11:43 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 12:13:23 +0000 (07:13 -0500)
Don't log errors if a listening endpoint is going away when procesing a
PASS_ACCEPT_REQ message.  This can happen.  Change the error printk to
a PDBG() debug log entry

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/infiniband/hw/cxgb4/cm.c

index cd2ff5f9518a2b7143d53821672a5d98b9773b17..0c2111b5b2e4ce0d37a012facaac21612a8c7552 100644 (file)
@@ -2399,8 +2399,7 @@ static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
        }
 
        if (state_read(&parent_ep->com) != LISTEN) {
-               printk(KERN_ERR "%s - listening ep not in LISTEN\n",
-                      __func__);
+               PDBG("%s - listening ep not in LISTEN\n", __func__);
                goto reject;
        }