[ovs-dev] [RFC] bfd: Replace bfd.{c, h} with generic implementation.
Alex Wang
alexw at nicira.com
Tue Mar 4 18:33:50 UTC 2014
On Mon, Mar 3, 2014 at 11:38 PM, Ben Pfaff <blp at nicira.com> wrote:
> OK.
>
> I didn't review the whole patch, by the way, I just noticed this
> glancing at the first little bit.
Sure, I'm aware of that.
After checking the random.c code, I think it may be require converting more
ovs
code (e.g. pthread data, entropy, hash) to generic form.
Since we just want a random number between 0~25 (for randomizing the
bfd_next_tx time by 0~25%), I think I could use the rand_r() function.
What do you think Ben?
Thanks,
Alex Wang,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-dev/attachments/20140304/50541bb2/attachment-0005.html>
More information about the dev
mailing list