diff --git a/lustre/ptlrpc/connection.c b/lustre/ptlrpc/connection.c index b2e0d85635e39ab1261681205ebb2bf91419a940..df65cf03f37e4d6f62ce8289bd0b2d7315b0035f 100644 --- a/lustre/ptlrpc/connection.c +++ b/lustre/ptlrpc/connection.c @@ -103,6 +103,8 @@ struct ptlrpc_connection *ptlrpc_get_connection(lnet_process_id_t peer, atomic_set(&c->c_refcount, 1); c->c_peer = peer; c->c_self = self; + INIT_HLIST_NODE(&c->c_hash); + INIT_LIST_HEAD(&c->c_link); if (uuid != NULL) obd_str2uuid(&c->c_remote_uuid, uuid->uuid);