Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vnet
/
vxlan-gbp
/
vxlan_gbp.c
diff --git
a/src/vnet/vxlan-gbp/vxlan_gbp.c
b/src/vnet/vxlan-gbp/vxlan_gbp.c
index
d01a167
..
45e4fdc
100644
(file)
--- a/
src/vnet/vxlan-gbp/vxlan_gbp.c
+++ b/
src/vnet/vxlan-gbp/vxlan_gbp.c
@@
-230,7
+230,7
@@
vxlan_gbp_rewrite (vxlan_gbp_tunnel_t * t, bool is_ip6)
vxlan_gbp_header_t *vxlan_gbp;
/* Fixed portion of the (outer) ip header */
vxlan_gbp_header_t *vxlan_gbp;
/* Fixed portion of the (outer) ip header */
- memset (&h, 0, sizeof (h));
+
clib_
memset (&h, 0, sizeof (h));
if (!is_ip6)
{
ip4_header_t *ip = &h.h4.ip4;
if (!is_ip6)
{
ip4_header_t *ip = &h.h4.ip4;
@@
-407,7
+407,7
@@
int vnet_vxlan_gbp_tunnel_add_del
return VNET_API_ERROR_INVALID_DECAP_NEXT;
pool_get_aligned (vxm->tunnels, t, CLIB_CACHE_LINE_BYTES);
return VNET_API_ERROR_INVALID_DECAP_NEXT;
pool_get_aligned (vxm->tunnels, t, CLIB_CACHE_LINE_BYTES);
- memset (t, 0, sizeof (*t));
+
clib_
memset (t, 0, sizeof (*t));
dev_instance = t - vxm->tunnels;
/* copy from arg structure */
dev_instance = t - vxm->tunnels;
/* copy from arg structure */