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
/
util
/
throttle.h
diff --git
a/src/vnet/util/throttle.h
b/src/vnet/util/throttle.h
index
97ebb25
..
45d437c
100644
(file)
--- a/
src/vnet/util/throttle.h
+++ b/
src/vnet/util/throttle.h
@@
-42,7
+42,7
@@
throttle_seed (throttle_t * t, u32 thread_index, f64 time_now)
if (time_now - t->last_seed_change_time[thread_index] > t->time)
{
(void) random_u32 (&t->seeds[thread_index]);
if (time_now - t->last_seed_change_time[thread_index] > t->time)
{
(void) random_u32 (&t->seeds[thread_index]);
- memset (t->bitmaps[thread_index], 0, THROTTLE_BITS / BITS (u8));
+
clib_
memset (t->bitmaps[thread_index], 0, THROTTLE_BITS / BITS (u8));
t->last_seed_change_time[thread_index] = time_now;
}
t->last_seed_change_time[thread_index] = time_now;
}