Skip to content

Commit

Permalink
RDS/IB: Drop connection when a fatal QP event is received
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Andy Grover authored and David S. Miller committed Jul 20, 2009
1 parent 68cb01c commit fdf6e6b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions net/rds/ib_cm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit fdf6e6b

Please sign in to comment.