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-09-13 15:31:49 +01:00
2024-09-13 15:31:44 +01:00
2024-10-03 17:26:06 +03:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-20 08:06:56 +03:00
2024-09-20 08:06:56 +03:00
2024-04-25 10:21:06 +01:00
2024-09-24 13:53:35 +02:00
2024-03-12 19:28:32 +08:00
2024-06-04 15:14:25 +08:00
2024-09-20 10:11:59 +03:00
2024-09-20 08:06:56 +03:00
2024-09-28 12:34:38 +01:00
2023-11-13 15:33:37 +08:00
2024-09-24 13:53:35 +02:00
2024-03-12 19:28:31 +08:00
2024-09-20 10:11:59 +03:00
2024-08-01 04:32:00 -04:00
2024-04-25 10:21:06 +01:00
2024-09-20 08:06:56 +03:00
2024-09-20 08:06:56 +03:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-20 08:06:56 +03:00
2024-09-13 20:11:12 +02:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2023-12-30 07:38:06 +11:00
2024-10-03 17:26:05 +03:00
2024-10-03 17:26:05 +03:00
2024-06-04 15:14:25 +08:00
2024-09-20 08:06:56 +03:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-03-12 19:28:32 +08:00
2024-09-20 08:06:56 +03:00
2024-09-20 08:06:56 +03:00
2024-07-02 06:47:51 +02:00
2024-09-20 08:06:56 +03:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-10-28 14:37:25 +08:00
2024-09-13 15:31:44 +01:00
2024-09-11 09:46:14 -04:00
2024-10-29 15:53:29 +08:00
2024-09-24 13:53:35 +02:00
2024-03-09 18:51:45 +01:00
2023-12-30 07:38:06 +11:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00