Selaa lähdekoodia

htable(k): fix non-init act. ctx in event route execution

- the event route was executed with an uninitialized run_act_ctx.
Andrei Pelinescu-Onciul 16 vuotta sitten
vanhempi
commit
4ac8656cb4
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      modules_k/htable/htable.c

+ 1 - 0
modules_k/htable/htable.c

@@ -185,6 +185,7 @@ static int child_init(int rank)
 		fmsg = faked_msg_next();
 		rtb = get_route_type();
 		set_route_type(REQUEST_ROUTE);
+		init_run_actions_ctx(&ctx);
 		run_top_route(event_rt.rlist[rt], fmsg, &ctx);
 		if(ctx.run_flags&DROP_R_F)
 		{