diff --git a/zebra/zebra_mlag_private.c b/zebra/zebra_mlag_private.c index 6a31d47055..4df7b6dd11 100644 --- a/zebra/zebra_mlag_private.c +++ b/zebra/zebra_mlag_private.c @@ -166,8 +166,6 @@ static int zebra_mlag_connect(struct thread *thread) /* Reset the Timer-running flag */ zrouter.mlag_info.timer_running = false; - /* Reset, sothat Next task can be scheduled */ - zrouter.mlag_info.t_read = NULL; svr.sun_family = AF_UNIX; #define MLAG_SOCK_NAME "/var/run/clag-zebra.socket" strlcpy(svr.sun_path, MLAG_SOCK_NAME, sizeof(MLAG_SOCK_NAME) + 1); diff --git a/zebra/zebra_router.h b/zebra/zebra_router.h index 437cab5bbd..d8ad8a6864 100644 --- a/zebra/zebra_router.h +++ b/zebra/zebra_router.h @@ -97,8 +97,14 @@ struct zebra_mlag_info { /* MLAG Thread context 'master' */ struct thread_master *th_master; - /* Threads for read/write. */ + /* + * Event for Initial MLAG Connection setup & Data Read + * Read can be performed only after successful connection establishment, + * so no issues. + * + */ struct thread *t_read; + /* Event for MLAG write */ struct thread *t_write; };