Commit fdf6e6b4afd8a56fa58f70a3950bd7ea7fbaef5f
Committed by
David S. Miller
1 parent
68cb01c1ba
Exists in
master
and in
39 other branches
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>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
net/rds/ib_cm.c
... | ... | @@ -203,9 +203,9 @@ |
203 | 203 | rdma_notify(ic->i_cm_id, IB_EVENT_COMM_EST); |
204 | 204 | break; |
205 | 205 | default: |
206 | - printk(KERN_WARNING "RDS/ib: unhandled QP event %u " | |
207 | - "on connection to %pI4\n", event->event, | |
208 | - &conn->c_faddr); | |
206 | + rds_ib_conn_error(conn, "RDS/IB: Fatal QP Event %u " | |
207 | + "- connection %pI4->%pI4, reconnecting\n", | |
208 | + event->event, &conn->c_laddr, &conn->c_faddr); | |
209 | 209 | break; |
210 | 210 | } |
211 | 211 | } |