[dpdk-dev] [PATCH] app/testpmd: fix the sample RSS issue

Ferruh Yigit ferruh.yigit at intel.com
Thu Jan 28 23:32:26 CET 2021


On 1/26/2021 3:49 AM, Jiawei Wang wrote:
> When the RSS with null key was set in sample actions list, it
> caused the segmentation fault since the RSS key pointer was
> NULL while did the memory copy.
> 
> This patch adds the RSS key NULL pointer checking before copying
> to fix the segmentation fault issue.
> 
> Fixes: 11b1b0eddade ("app/testpmd: support RSS in sample action")
> 
> Signed-off-by: Jiawei Wang <jiaweiw at nvidia.com>
> Acked-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>

Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list