diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-25 10:26:52 -0500 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 | 
| commit | e16d030c65ca97b1ba68b93ada93b1d4edde59d3 (patch) | |
| tree | e3a57a2e2887a899cad71c0640047b2b2409b5fa /ospfd/ospf_gr_helper.c | |
| parent | 70d4d90c82f3fb4eb552438422afb79e29a4dca0 (diff) | |
*: Convert THREAD_XXX macros to EVENT_XXX macros
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_gr_helper.c')
| -rw-r--r-- | ospfd/ospf_gr_helper.c | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_gr_helper.c b/ospfd/ospf_gr_helper.c index 13ae3d9df9..33b351d82e 100644 --- a/ospfd/ospf_gr_helper.c +++ b/ospfd/ospf_gr_helper.c @@ -331,7 +331,7 @@ static int ospf_extract_grace_lsa_fields(struct ospf_lsa *lsa,   */  static void ospf_handle_grace_timer_expiry(struct event *thread)  { -	struct ospf_neighbor *nbr = THREAD_ARG(thread); +	struct ospf_neighbor *nbr = EVENT_ARG(thread);  	nbr->gr_helper_info.t_grace_timer = NULL; @@ -500,7 +500,7 @@ int ospf_process_grace_lsa(struct ospf *ospf, struct ospf_lsa *lsa,  	if (OSPF_GR_IS_ACTIVE_HELPER(restarter)) {  		if (restarter->gr_helper_info.t_grace_timer) -			THREAD_OFF(restarter->gr_helper_info.t_grace_timer); +			EVENT_OFF(restarter->gr_helper_info.t_grace_timer);  		if (ospf->active_restarter_cnt > 0)  			ospf->active_restarter_cnt--; @@ -699,7 +699,7 @@ void ospf_gr_helper_exit(struct ospf_neighbor *nbr,  	 * expiry, stop the grace timer.  	 */  	if (reason != OSPF_GR_HELPER_GRACE_TIMEOUT) -		THREAD_OFF(nbr->gr_helper_info.t_grace_timer); +		EVENT_OFF(nbr->gr_helper_info.t_grace_timer);  	/* check exit triggered due to successful completion  	 * of graceful restart.  | 
