Searched hist:cd76e8fcbe1a340776ae61b4e182be3a45b26219 (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/hw/net/ |
H A D | virtio-net.c | diff cd76e8fcbe1a340776ae61b4e182be3a45b26219 Tue Oct 08 01:51:03 CDT 2024 Akihiko Odaki <akihiko.odaki@daynix.com> virtio-net: Avoid indirection_table_mask overflow
We computes indirections_len by adding 1 to indirection_table_mask, but it may overflow indirection_table_mask is UINT16_MAX. Check if indirection_table_mask is small enough before adding 1.
Fixes: 590790297c0d ("virtio-net: implement RSS configuration command") Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
|