diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-11-30 13:02:15 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-04 09:51:17 +0100 |
commit | 31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6 (patch) | |
tree | 512bc08cd77f5756cc2a21e823b88fcb8217b32d /test/prepare-distro-img.sh | |
parent | df96a4cb5d4f3907f1019ba50511ee9787443acf (diff) | |
download | passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar.gz passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar.bz2 passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar.lz passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar.xz passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.tar.zst passt-31bab5f2d936c1b3d09ecb8bd9e4aeb0ab9f6bf6.zip |
tcp: Remove unneccessary bounds check in tcp_timer_handler()
In tcp_timer_handler() we use conn_at_idx() to interpret the flow index
from the epoll reference. However, this will never be NULL - we always
put a valid index into the epoll_ref. Simplify slightly based on this.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/prepare-distro-img.sh')
0 files changed, 0 insertions, 0 deletions