Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ip: Replace Sematics for Interface IP addresses
[vpp.git]
/
src
/
plugins
/
gbp
/
gbp_recirc.c
diff --git
a/src/plugins/gbp/gbp_recirc.c
b/src/plugins/gbp/gbp_recirc.c
index
87d0d05
..
2b45d48
100644
(file)
--- 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
*/
/*
* 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
/*
* 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);
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;
gbp_endpoint_group_unlock (gr->gr_epgi);
gbp_recirc_db[sw_if_index] = INDEX_INVALID;