aboutgitcodebugslistschat
path: root/test/tcp
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2026-01-09 17:54:33 +0100
committerStefano Brivio <sbrivio@redhat.com>2026-01-14 01:07:51 +0100
commit5614bdc62861f63a25eb2997ddaecbfdc3e06748 (patch)
tree0b4915df8021d6e0a410c30320629be72e381536 /test/tcp
parentfaab79cfd56a34699f0baad7e57c52030363a544 (diff)
downloadpasst-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar.gz
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar.bz2
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar.lz
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar.xz
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.tar.zst
passt-5614bdc62861f63a25eb2997ddaecbfdc3e06748.zip
tcp: remove timer update in tcp_epoll_ctl()
Timer update in tcp_epoll_ctl() has been added by bb708111833e ("treewide: Packet abstraction with mandatory boundary checks") because epoll_ref stores "conn - tc" that can change in tcp_table_compact(). But since e2e8219f13b8 ("flow, tcp: Consolidate flow pointer<->index helpers") we use FLOW_IDX() and since 8981a720aac4 ("flow: Avoid moving flow entries to compact table") flow table doesn't use a compaction procedure so FLOW_IDX() never changes. Updating the timer event is now a no-op, remove it from tcp_epoll_ctl(). Fixes: 8981a720aac4 ("flow: Avoid moving flow entries to compact table") Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp')
0 files changed, 0 insertions, 0 deletions