When we process the incoming netlink message queue and have NEW_LINK for a VLAN interface, we call lcp_itf_pair_add.
Internally, drain is called, which corrupts the original vector (probably due to reallocation)
Type: fix
Change-Id: I0487bfb2939a04d8d3c156725086fedd6e9c72c7
Signed-off-by: Artem Glazychev <[email protected]>
void
lcp_nl_pair_add_cb (lcp_itf_pair_t *pair)
{
- lcp_nl_drain_messages ();
+ if (!lcp_get_netlink_processing_active ())
+ lcp_nl_drain_messages ();
}
static clib_error_t *