summaryrefslogtreecommitdiff
path: root/zebra/zebra_mlag_private.c
diff options
context:
space:
mode:
authorSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-18 07:13:30 -0800
committerSatheesh Kumar K <sathk@cumulusnetworks.com>2019-11-19 08:54:11 -0800
commit1e76492b10844df77b64e7954b35f9a8ffc02e74 (patch)
treef8339cf93f5b9de6a035b5b9752d0f04bbbf2585 /zebra/zebra_mlag_private.c
parent67fa73f29a2a059fb01d8fc7009161f21e1b05da (diff)
zebra,pim : Fixing Review comments in PIM_MLAG
Signed-off-by: Satheesh Kumar K <sathk@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mlag_private.c')
-rw-r--r--zebra/zebra_mlag_private.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_mlag_private.c b/zebra/zebra_mlag_private.c
index 6cb40a9c12..6a31d47055 100644
--- a/zebra/zebra_mlag_private.c
+++ b/zebra/zebra_mlag_private.c
@@ -71,10 +71,8 @@ int zebra_mlag_private_write_data(uint8_t *data, uint32_t len)
static void zebra_mlag_sched_read(void)
{
- frr_with_mutex (&zrouter.mlag_info.mlag_th_mtx) {
- thread_add_read(zmlag_master, zebra_mlag_read, NULL,
- mlag_socket, &zrouter.mlag_info.t_read);
- }
+ thread_add_read(zmlag_master, zebra_mlag_read, NULL, mlag_socket,
+ &zrouter.mlag_info.t_read);
}
static int zebra_mlag_read(struct thread *thread)