提交 fdf6e6b4 编写于 作者: A Andy Grover 提交者: David S. Miller

RDS/IB: Drop connection when a fatal QP event is received

Signed-off-by: NAndy Grover <andy.grover@oracle.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 68cb01c1
......@@ -203,9 +203,9 @@ static void rds_ib_qp_event_handler(struct ib_event *event, void *data)
rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST);
break;
default:
printk(KERN_WARNING "RDS/ib: unhandled QP event %u "
"on connection to %pI4\n", event->event,
&conn->c_faddr);
rds_ib_conn_error(conn, "RDS/IB: Fatal QP Event %u "
"- connection %pI4->%pI4, reconnecting\n",
event->event, &conn->c_laddr, &conn->c_faddr);
break;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册