RDS/IB: Drop connection when a fatal QP event is received
Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
68cb01c1ba
commit
fdf6e6b4af
|
@ -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);
|
rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printk(KERN_WARNING "RDS/ib: unhandled QP event %u "
|
rds_ib_conn_error(conn, "RDS/IB: Fatal QP Event %u "
|
||||||
"on connection to %pI4\n", event->event,
|
"- connection %pI4->%pI4, reconnecting\n",
|
||||||
&conn->c_faddr);
|
event->event, &conn->c_laddr, &conn->c_faddr);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue