IB/mlx4: Initialize hop_limit when creating address handle
authorMatan Barak <matanb@mellanox.com>
Thu, 14 Jan 2016 15:47:02 +0000 (17:47 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:24:53 +0000 (15:24 -0500)
commit4e4081673445485aa6bc90383bdb83e7a96cc48a
treedb492487dfa1713da8ee587fb847703fe105a7c7
parent9f17768611ebf81dfac69948dd12622b6f2e45fc
IB/mlx4: Initialize hop_limit when creating address handle

Hop limit value wasn't copied from attributes  when ah was created.
This may influence packets for unconnected services to get dropped in
routers when endpoints are not in the same subnet.

Fixes: fa417f7b520e ("IB/mlx4: Add support for IBoE")
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/ah.c