Skip to content

Commit 6812fae

Browse files
Hariprasad Sdledford
authored andcommitted
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 <[email protected]> Signed-off-by: Hariprasad Shenai <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent a6054df commit 6812fae

File tree

1 file changed

+1
-2
lines changed
  • drivers/infiniband/hw/cxgb4

1 file changed

+1
-2
lines changed

drivers/infiniband/hw/cxgb4/cm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2399,8 +2399,7 @@ static int pass_accept_req(struct c4iw_dev *dev, struct sk_buff *skb)
23992399
}
24002400

24012401
if (state_read(&parent_ep->com) != LISTEN) {
2402-
printk(KERN_ERR "%s - listening ep not in LISTEN\n",
2403-
__func__);
2402+
PDBG("%s - listening ep not in LISTEN\n", __func__);
24042403
goto reject;
24052404
}
24062405

0 commit comments

Comments
 (0)