OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68cb01c
)
RDS/IB: Drop connection when a fatal QP event is received
author
Andy Grover
<andy.grover@oracle.com>
Fri, 17 Jul 2009 13:13:31 +0000
(13:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Jul 2009 15:03:11 +0000
(08:03 -0700)
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_cm.c
patch
|
blob
|
history
diff --git
a/net/rds/ib_cm.c
b/net/rds/ib_cm.c
index
0ad749c
..
c2d372f
100644
(file)
--- 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 e
vent %u "
-
"on connection to %pI4\n", event->event
,
- &conn->c_faddr);
+
rds_ib_conn_error(conn, "RDS/IB: Fatal QP E
vent %u "
+
"- connection %pI4->%pI4, reconnecting\n"
,
+
event->event, &conn->c_laddr,
&conn->c_faddr);
break;
}
}