iw_cxgb4: remove false error log entry
authorHariprasad S <hariprasad@chelsio.com>
Fri, 5 Feb 2016 06:13:29 +0000 (11:43 +0530)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:10:14 +0000 (17:10 -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: Doug Ledford <dledford@redhat.com>
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;
        }