Files
linux/drivers
Xie Yongji 7cfaec657d vhost: Fix the calculation in vhost_overflow()
[ Upstream commit f7ad318ea0 ]

This fixes the incorrect calculation for integer overflow
when the last address of iova range is 0xffffffff.

Fixes: ec33d031a1 ("vhost: detect 32 bit integer wrap around")
Reported-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Link: https://lore.kernel.org/r/20210728130756.97-2-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-08-26 08:36:45 -04:00
..
2020-09-09 19:04:23 +02:00
2021-07-20 16:15:55 +02:00
2019-05-14 19:17:53 +02:00
2021-01-17 14:04:22 +01:00
2020-12-30 11:26:04 +01:00
2019-07-26 09:14:05 +02:00
2020-02-24 08:34:47 +01:00