On 5/13/2020 6:16 PM, Ting Xu wrote: > When rte_eth_dev_rss_hash_conf_get() is called, if the variable > rss_conf is not initialized, the pointer member variable rss_key > may have a random address, which leads to an error in the following > processing. This patch initialized the variable rss_conf to avoid > this situation. > > Fixes: 16321de09396 ("ethdev: allow to get RSS hash functions and key") > Cc: sta...@dpdk.org > > Signed-off-by: Ting Xu <ting...@intel.com> >
Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com> Applied to dpdk-next-net/master, thanks.