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
/
ip
/
rd_cp.c
diff --git
a/src/vnet/ip/rd_cp.c
b/src/vnet/ip/rd_cp.c
index
164b304
..
1a6122f
100644
(file)
--- a/
src/vnet/ip/rd_cp.c
+++ b/
src/vnet/ip/rd_cp.c
@@
-227,7
+227,7
@@
get_interface_mac_address (u32 sw_if_index, u8 mac[])
return 1;
}
- clib_memcpy (mac, eth_if->address, 6);
+ clib_memcpy
_fast
(mac, eth_if->address, 6);
return 0;
}