[PATCH 4/6] net/qede: replace use of rand()

Tyler Retzlaff roretzla at linux.microsoft.com
Fri Mar 1 19:10:43 CET 2024


On Fri, Mar 01, 2024 at 09:57:09AM -0800, Stephen Hemminger wrote:
> The function of rand() is a weak random number generator.
> Use the DPDK rte_rand() instead.
> 
> Note: this doesn't matter for real security, since most drivers
> use a fixed RSS default key.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---

Reviewed-by: Tyler Retzlaff <roretzla at linux.microsoft.com>


More information about the dev mailing list