While examining the code for rte_random, noticed a couple of
existing bugs around use of rte_rand() by non-EAL threads

Stephen Hemminger (2):
  random: initialize the random state for non-EAL threads
  random: make rte_rand() thread safe for non-EAL threads

 lib/eal/common/rte_random.c | 56 ++++++++++++++++++++++++-------------
 1 file changed, 37 insertions(+), 19 deletions(-)

-- 
2.39.2

Reply via email to