diff options
author | Andy Grover <andy.grover@oracle.com> | 2009-07-17 09:13:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-20 11:03:11 -0400 |
commit | fdf6e6b4afd8a56fa58f70a3950bd7ea7fbaef5f (patch) | |
tree | 63baf998d648573d69475848cc5114fc3bc3e89e | |
parent | 68cb01c1ba312add7c7cc7da1bbe98b3071904d1 (diff) |
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>
-rw-r--r-- | net/rds/ib_cm.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
203 | rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST); | 203 | rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST); |
204 | break; | 204 | break; |
205 | default: | 205 | default: |
206 | printk(KERN_WARNING "RDS/ib: unhandled QP event %u " | 206 | rds_ib_conn_error(conn, "RDS/IB: Fatal QP Event %u " |
207 | "on connection to %pI4\n", event->event, | 207 | "- connection %pI4->%pI4, reconnecting\n", |
208 | &conn->c_faddr); | 208 | event->event, &conn->c_laddr, &conn->c_faddr); |
209 | break; | 209 | break; |
210 | } | 210 | } |
211 | } | 211 | } |