Skip to contentSkip to conversation

libvendor/osm_pkt_randomizer.c: Fix broken compilation with vendor sim

PATCH New Hal Rosenstock 1 participant 1 message Jul 23, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvendor/osm_pkt_randomizer.c: Fix broken compilation with vendor sim

Due to change in number of args to osm_dr_path_init.

---

libvendor/osm_pkt_randomizer.c +1 -2
index cfc5a8f..5ea1f4a 100644
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html