diff options
author | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-11-18 16:13:30 +0100 |
---|---|---|
committer | Satheesh Kumar K <sathk@cumulusnetworks.com> | 2019-11-19 17:54:11 +0100 |
commit | 1e76492b10844df77b64e7954b35f9a8ffc02e74 (patch) | |
tree | f8339cf93f5b9de6a035b5b9752d0f04bbbf2585 /zebra/zebra_mlag_private.c | |
parent | Zebra: ADD Protobuf Encoding & Decoding for MLAG Messages (diff) | |
download | frr-1e76492b10844df77b64e7954b35f9a8ffc02e74.tar.xz frr-1e76492b10844df77b64e7954b35f9a8ffc02e74.zip |
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.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_mlag_private.c b/zebra/zebra_mlag_private.c index 6cb40a9c1..6a31d4705 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) |