]> git.droids-corp.org - dpdk.git/commit
net/virtio: fix uninitialized RSS key
authorYunjian Wang <wangyunjian@huawei.com>
Sat, 8 Jan 2022 08:14:21 +0000 (16:14 +0800)
committerChenbo Xia <chenbo.xia@intel.com>
Thu, 27 Jan 2022 05:11:47 +0000 (06:11 +0100)
commit0f7438e6d4009a52482d6a662f440ab067e63c60
treea6c42fff83141c69ed374a4ede105425e81ca24b
parent6abf10a21b293cb427ef21c59f490592717cb211
net/virtio: fix uninitialized RSS key

This patch fixes an issue that uninitialized old_rss_key
is used for restoring the rss_key.

Coverity issue: 373866
Fixes: 0c9d66207054 ("net/virtio: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
drivers/net/virtio/virtio_ethdev.c