Browse Source

iw_cxgb4: remove false error log entry

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>
Hariprasad S 9 years ago
parent
commit
6812faefb7
1 changed files with 1 additions and 2 deletions
  1. 1 2
      drivers/infiniband/hw/cxgb4/cm.c

+ 1 - 2
drivers/infiniband/hw/cxgb4/cm.c

@@ -2399,8 +2399,7 @@ static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
 	}
 	}
 
 
 	if (state_read(&parent_ep->com) != LISTEN) {
 	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;
 		goto reject;
 	}
 	}