Due to change in number of args to osm_dr_path_init.
   
Signed-off-by: Eitan Zahavi <ei...@mellanox.com>
Signed-off-by: Alex Netes <ale...@mellanox.com>
Signed-off-by: Hal Rosenstock <h...@mellanox.com>
---
diff --git a/libvendor/osm_pkt_randomizer.c b/libvendor/osm_pkt_randomizer.c
index cfc5a8f..5ea1f4a 100644
--- a/libvendor/osm_pkt_randomizer.c
+++ b/libvendor/osm_pkt_randomizer.c
@@ -234,8 +234,7 @@ osm_pkt_randomizer_mad_drop(IN osm_log_t * p_log,
                /* This is a lid route mad. Don't drop it */
                goto Exit;
 
-       osm_dr_path_init(&dr_path, 0,   /* The h_bind is not really important 
for us to save */
-                        p_smp->hop_count, p_smp->initial_path);
+       osm_dr_path_init(&dr_path, p_smp->hop_count, p_smp->initial_path);
 
        if (__osm_pkt_randomizer_process_path
            (p_log, p_pkt_randomizer, &dr_path)) {
--
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