diff options
| author | Mark Stapp <mjs@labn.net> | 2023-07-11 16:03:38 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2023-07-25 10:17:48 -0400 | 
| commit | adca5c22c573f17b09b96a0994953c8f643fd301 (patch) | |
| tree | 84894373c496a0279b3fc5eb944803c53bcb6c34 /pimd | |
| parent | 9e32b73634a8bbe893f2425ee89ee27651d93408 (diff) | |
* : include event ptr in event_execute api
Include an event ptr-to-ptr in the event_execute() api
call, like the various schedule api calls. This allows the
execute() api to cancel an existing scheduled task if that
task is being executed inline.
Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'pimd')
| -rw-r--r-- | pimd/pim6_mld.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim6_mld.c b/pimd/pim6_mld.c index ed9967e7a8..20ef9216a9 100644 --- a/pimd/pim6_mld.c +++ b/pimd/pim6_mld.c @@ -1367,7 +1367,7 @@ static void gm_bump_querier(struct gm_if *gm_ifp)  	gm_ifp->n_startup = gm_ifp->cur_qrv; -	event_execute(router->master, gm_t_query, gm_ifp, 0); +	event_execute(router->master, gm_t_query, gm_ifp, 0, NULL);  }  static void gm_t_other_querier(struct event *t) @@ -1380,7 +1380,7 @@ static void gm_t_other_querier(struct event *t)  	gm_ifp->querier = pim_ifp->ll_lowest;  	gm_ifp->n_startup = gm_ifp->cur_qrv; -	event_execute(router->master, gm_t_query, gm_ifp, 0); +	event_execute(router->master, gm_t_query, gm_ifp, 0, NULL);  }  static void gm_handle_query(struct gm_if *gm_ifp, @@ -2267,7 +2267,7 @@ static void gm_update_ll(struct interface *ifp)  		return;  	gm_ifp->n_startup = gm_ifp->cur_qrv; -	event_execute(router->master, gm_t_query, gm_ifp, 0); +	event_execute(router->master, gm_t_query, gm_ifp, 0, NULL);  }  void gm_ifp_update(struct interface *ifp)  | 
