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: fix show ip neigh vector read overflow
[vpp.git]
/
src
/
vnet
/
dhcp
/
dhcp6_pd_client_dp.c
diff --git
a/src/vnet/dhcp/dhcp6_pd_client_dp.c
b/src/vnet/dhcp/dhcp6_pd_client_dp.c
index
9fb6096
..
c1bf5f8
100644
(file)
--- a/
src/vnet/dhcp/dhcp6_pd_client_dp.c
+++ b/
src/vnet/dhcp/dhcp6_pd_client_dp.c
@@
-501,7
+501,7
@@
static uword
dhcp6_pd_reply_process (vlib_main_t * vm, vlib_node_runtime_t * rt,
vlib_frame_t * f)
{
dhcp6_pd_reply_process (vlib_main_t * vm, vlib_node_runtime_t * rt,
vlib_frame_t * f)
{
- /* These cross the longjmp boundry (vlib_process_wait_for_event)
+ /* These cross the longjmp bound
a
ry (vlib_process_wait_for_event)
* and need to be volatile - to prevent them from being optimized into
* a register - which could change during suspension */
* and need to be volatile - to prevent them from being optimized into
* a register - which could change during suspension */
@@
-647,10
+647,8
@@
dhcp6_pd_client_init (vlib_main_t * vm)
cm->vlib_main = vm;
cm->vnet_main = vnet_get_main ();
cm->vlib_main = vm;
cm->vnet_main = vnet_get_main ();
-
cm->publisher_node = ~0;
cm->publisher_node = ~0;
-
- cm->seed = 0xdeaddabe;
+ cm->seed = (u32) clib_cpu_time_now ();
return 0;
}
return 0;
}