From 076d77264842d4cdefebf8cc3b19b3292608d43d Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 8 Mar 2016 17:20:28 +0000 Subject: [PATCH] [infiniband] Retrieve GID flag from cached path entries Signed-off-by: Michael Brown --- src/net/infiniband/ib_pathrec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/net/infiniband/ib_pathrec.c b/src/net/infiniband/ib_pathrec.c index 4b00f3b96..f846710f2 100644 --- a/src/net/infiniband/ib_pathrec.c +++ b/src/net/infiniband/ib_pathrec.c @@ -258,6 +258,7 @@ int ib_resolve_path ( struct ib_device *ibdev, struct ib_address_vector *av ) { av->lid = cached->path->av.lid; av->rate = cached->path->av.rate; av->sl = cached->path->av.sl; + av->gid_present = cached->path->av.gid_present; DBGC2 ( ibdev, "IBDEV %s cache hit for " IB_GID_FMT "\n", ibdev->name, IB_GID_ARGS ( gid ) ); return 0;