diff options
| author | Nikolay Kuratov <[email protected]> | 2023-12-11 16:23:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-12-14 01:59:08 +0000 |
| commit | 60316d7f10b17a7ebb1ead0642fee8710e1560e0 (patch) | |
| tree | d3e0dec3a5925949c663bd6340750248626b9886 /tools/perf/scripts/python/gecko.py | |
| parent | Revert "tcp: disable tcp_autocorking for socket when TCP_NODELAY flag is set" (diff) | |
| download | kernel-60316d7f10b17a7ebb1ead0642fee8710e1560e0.tar.gz kernel-60316d7f10b17a7ebb1ead0642fee8710e1560e0.zip | |
vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
We need to do signed arithmetic if we expect condition
`if (bytes < 0)` to be possible
Found by Linux Verification Center (linuxtesting.org) with SVACE
Fixes: 06a8fc78367d ("VSOCK: Introduce virtio_vsock_common.ko")
Signed-off-by: Nikolay Kuratov <[email protected]>
Reviewed-by: Stefano Garzarella <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
