aboutsummaryrefslogtreecommitdiff
path: root/crypto/cipher.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2024-07-01 20:58:04 +0900
committerMichael Tokarev <mjt@tls.msk.ru>2024-08-28 08:37:14 +0300
commit44ef533498db5078c4432a3f1e160ed5539d7d29 (patch)
tree20f3ded3cf252cdcf20ec5f84caea41ceca32cda /crypto/cipher.c
parent17af53e425652caeefae5a3c4a8d9854299c684f (diff)
virtio-net: Ensure queue index fits with RSS
Ensure the queue index points to a valid queue when software RSS enabled. The new calculation matches with the behavior of Linux's TAP device with the RSS eBPF program. Fixes: 4474e37a5b3a ("virtio-net: implement RX RSS processing") Reported-by: Zhibin Hu <huzhibin5@huawei.com> Cc: qemu-stable@nongnu.org Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com> (cherry picked from commit f1595ceb9aad36a6c1da95bcb77ab9509b38822d) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Fixes: CVE-2024-6505
Diffstat (limited to 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions