Signed-off-by: Somnath Kotur <somnath.ko...@emulex.com>
---
 drivers/infiniband/core/cma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c
index 5c9f1ad..2c03db2 100644
--- a/drivers/infiniband/core/cma.c
+++ b/drivers/infiniband/core/cma.c
@@ -1884,7 +1884,7 @@ static int cma_resolve_iboe_route(struct rdma_id_private 
*id_priv)
        iboe_mac_vlan_to_ll(&route->path_rec->sgid, 
addr->dev_addr.src_dev_addr, vid);
        iboe_mac_vlan_to_ll(&route->path_rec->dgid, 
addr->dev_addr.dst_dev_addr, vid);
 
-       route->path_rec->hop_limit = 1;
+       route->path_rec->hop_limit = IPV6_DEFAULT_HOPLIMIT;
        route->path_rec->reversible = 1;
        route->path_rec->pkey = cpu_to_be16(0xffff);
        route->path_rec->mtu_selector = IB_SA_EQ;
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to