diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-10-21 23:01:12 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-10-30 15:32:30 +0100 |
| commit | 05972c7c4daf0b2479a415bf7240944b999d9081 (patch) | |
| tree | a5e1cb3b61d546b321a54692b2005bc2d2ddfecb /test | |
| parent | 965ea66068e653934c0016281df86c17e2a65625 (diff) | |
| download | passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar.gz passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar.bz2 passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar.lz passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar.xz passt-05972c7c4daf0b2479a415bf7240944b999d9081.tar.zst passt-05972c7c4daf0b2479a415bf7240944b999d9081.zip | |
util: Move epoll registration out of sock_l4_sa()
Move epoll_add() calls from sock_l4_sa() to the protocol-specific code
(icmp.c, pif.c, udp_flow.c) to give callers more control over epoll
registration. This allows sock_l4_sa() to focus solely on socket
creation and binding, while epoll management happens at a higher level.
Remove the data parameter from sock_l4_sa() and flowside_sock_l4() as
it's no longer needed - callers now construct the full epoll_ref and
register the socket themselves after creation.
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')
0 files changed, 0 insertions, 0 deletions
