X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fgbp%2Fgbp_recirc.c;fp=src%2Fplugins%2Fgbp%2Fgbp_recirc.c;h=2b45d484289eb26477a65fe5fc5043ea64275da3;hb=e28c87cd00644205e9bebca054029a8e655ed015;hp=87d0d0564adacfb31e3f866c6222d471027e3f96;hpb=777d2aee8054e77e6f265879e1dfe3776d90d758;p=vpp.git diff --git a/src/plugins/gbp/gbp_recirc.c b/src/plugins/gbp/gbp_recirc.c index 87d0d0564ad..2b45d484289 100644 --- a/src/plugins/gbp/gbp_recirc.c +++ b/src/plugins/gbp/gbp_recirc.c @@ -108,7 +108,7 @@ gbp_recirc_add (u32 sw_if_index, sclass_t sclass, u8 is_ext) /* * bind to the bridge-domain of the EPG */ - gr->gr_itf = gbp_itf_add_and_lock (gr->gr_sw_if_index, gg->gg_bd_index); + gr->gr_itf = gbp_itf_l2_add_and_lock (gr->gr_sw_if_index, gg->gg_gbd); /* * set the interface into L2 emulation mode @@ -211,7 +211,7 @@ gbp_recirc_delete (u32 sw_if_index) ip6_sw_interface_enable_disable (gr->gr_sw_if_index, 0); l2e_disable (gr->gr_sw_if_index); - gbp_itf_unlock (gr->gr_itf); + gbp_itf_unlock (&gr->gr_itf); gbp_endpoint_group_unlock (gr->gr_epgi); gbp_recirc_db[sw_if_index] = INDEX_INVALID;