diff options
author | 2021-07-28 21:07:56 +0800 | |
---|---|---|
committer | 2021-08-11 06:44:15 -0400 | |
commit | f7ad318ea0ad58ebe0e595e59aed270bb643b29b (patch) | |
tree | 1f9b72676673a8a42c252b8947fd26f59b789388 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | vhost-vdpa: Fix integer overflow in vhost_vdpa_process_iotlb_update() (diff) | |
download | linux-dev-f7ad318ea0ad58ebe0e595e59aed270bb643b29b.tar.xz linux-dev-f7ad318ea0ad58ebe0e595e59aed270bb643b29b.zip |
vhost: Fix the calculation in vhost_overflow()
This fixes the incorrect calculation for integer overflow
when the last address of iova range is 0xffffffff.
Fixes: ec33d031a14b ("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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions