From fd2417b2a42e34062e3d07875e5c4e11922513d5 Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Fri, 16 Jul 2021 14:00:16 +0000 Subject: ip-neighbor: ARP and ND stats per-interface. Type: feature stats of the like from: https://datatracker.ietf.org/doc/html/draft-ietf-rtgwg-arp-yang-model-03#section-4 Signed-off-by: Neale Ranns Change-Id: Icb1bf4f6f7e6ccc2f44b0008d4774b61cae96184 --- src/vnet/bonding/device.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/vnet/bonding') diff --git a/src/vnet/bonding/device.c b/src/vnet/bonding/device.c index dcf7203fe9e..ca48585fa0a 100644 --- a/src/vnet/bonding/device.c +++ b/src/vnet/bonding/device.c @@ -581,8 +581,10 @@ bond_active_interface_switch_cb (vnet_main_t * vnm, u32 sw_if_index, { bond_main_t *bm = &bond_main; - ip4_neighbor_advertise (bm->vlib_main, bm->vnet_main, sw_if_index, NULL); - ip6_neighbor_advertise (bm->vlib_main, bm->vnet_main, sw_if_index, NULL); + ip4_neighbor_advertise (bm->vlib_main, bm->vnet_main, sw_if_index, + vlib_get_thread_index (), NULL); + ip6_neighbor_advertise (bm->vlib_main, bm->vnet_main, sw_if_index, + vlib_get_thread_index (), NULL); return (WALK_CONTINUE); } -- cgit 1.2.3-korg