Akihiko Odaki cd76e8fcbe 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>
2024-10-29 15:53:29 +08:00
..
2024-10-15 15:16:17 +01:00
2024-05-03 15:47:47 +02:00
2024-10-25 13:35:22 +01:00
2024-05-03 15:47:47 +02:00
2024-10-01 14:58:07 +01:00
2024-10-24 07:57:47 +02:00
2024-10-03 19:33:23 +02:00
2024-10-01 14:41:10 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-10-03 19:33:23 +02:00
2024-10-01 09:02:05 +02:00
2024-10-03 17:26:06 +03:00
2024-10-03 19:33:23 +02:00
2024-10-03 17:26:05 +03:00
2024-10-03 19:33:23 +02:00
2024-10-01 14:40:59 +01:00
2024-10-03 19:33:23 +02:00
2024-10-01 14:56:27 +01:00
2024-10-23 14:46:24 +02:00
2024-10-15 15:16:17 +01:00
2024-10-15 15:16:17 +01:00