Re: [PATCH v3 5/6] virtio-net: Initialize hash reporting values

2024-11-21 Thread Philippe Mathieu-Daudé
On 22/11/24 06:03, Akihiko Odaki wrote: The specification says hash_report should be set to VIRTIO_NET_HASH_REPORT_NONE if VIRTIO_NET_F_HASH_REPORT is negotiated but not configured with VIRTIO_NET_CTRL_MQ_RSS_CONFIG. However, virtio_net_receive_rcu() instead wrote out the content of the extra_hdr

[PATCH v3 5/6] virtio-net: Initialize hash reporting values

2024-11-21 Thread Akihiko Odaki
The specification says hash_report should be set to VIRTIO_NET_HASH_REPORT_NONE if VIRTIO_NET_F_HASH_REPORT is negotiated but not configured with VIRTIO_NET_CTRL_MQ_RSS_CONFIG. However, virtio_net_receive_rcu() instead wrote out the content of the extra_hdr variable, which is not uninitialized in s