summaryrefslogtreecommitdiffstats
path: root/src/plugins/linux-cp/lcp_mpls_sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/linux-cp/lcp_mpls_sync.c')
-rw-r--r--src/plugins/linux-cp/lcp_mpls_sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/linux-cp/lcp_mpls_sync.c b/src/plugins/linux-cp/lcp_mpls_sync.c
index d4b0d13b907..c08fcb4d1d9 100644
--- a/src/plugins/linux-cp/lcp_mpls_sync.c
+++ b/src/plugins/linux-cp/lcp_mpls_sync.c
@@ -77,6 +77,8 @@ lcp_mpls_sync_state_cb (struct mpls_main_t *mm, uword opaque, u32 sw_if_index,
format_lcp_itf_pair, lip);
// If syncing is enabled, sync Linux state as well.
+ // This can happen regardless of lcp_get_netlink_processing_active(),
+ // provided it does not generate Netlink messages.
if (!lcp_sync ())
return;