Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove c-11 memcpy checks from perf-critical code
[vpp.git]
/
src
/
vnet
/
ipsec
/
ikev2_payload.c
diff --git
a/src/vnet/ipsec/ikev2_payload.c
b/src/vnet/ipsec/ikev2_payload.c
index
e5fa014
..
3aae6d3
100644
(file)
--- a/
src/vnet/ipsec/ikev2_payload.c
+++ b/
src/vnet/ipsec/ikev2_payload.c
@@
-205,7
+205,7
@@
ikev2_payload_add_sa (ikev2_payload_chain_t * c,
clib_host_to_net_u16 (sizeof (*tr) + vec_len (t->attrs));
if (vec_len (t->attrs) > 0)
clib_host_to_net_u16 (sizeof (*tr) + vec_len (t->attrs));
if (vec_len (t->attrs) > 0)
- clib_memcpy (tr->attributes, t->attrs, vec_len (t->attrs));
+ clib_memcpy
_fast
(tr->attributes, t->attrs, vec_len (t->attrs));
DBG_PLD
("transform type %U transform_id %u last_or_more %u attr_size %u%s%U",
DBG_PLD
("transform type %U transform_id %u last_or_more %u attr_size %u%s%U",