[PATCH 04/12] net/ena: fix build with GCC 12

Stephen Hemminger stephen at networkplumber.org
Fri May 20 22:28:07 CEST 2022


On Wed, 18 May 2022 12:16:49 +0200
David Marchand <david.marchand at redhat.com> wrote:

> +		for (i = 0; i < RTE_DIM(default_key); ++i)
>  			default_key[i] = rte_rand() & 0xff;

We should have rte_random_bytes() functionality if this gets
used often.

Also, worth considering dropping DPDK random number generator
in userspace for security reasons and just using more secure kernel code.


More information about the stable mailing list