From: Andy Grover Date: Fri, 17 Jul 2009 13:13:31 +0000 (+0000) Subject: RDS/IB: Drop connection when a fatal QP event is received X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fdf6e6b4afd8a56fa58f70a3950bd7ea7fbaef5f;p=openwrt%2Fstaging%2Fblogic.git RDS/IB: Drop connection when a fatal QP event is received Signed-off-by: Andy Grover Signed-off-by: David S. Miller --- diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index 0ad749c17c2c..c2d372f13dbb 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c @@ -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; } }