diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2026-06-02 15:17:08 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-06-04 06:45:09 +0200 |
| commit | 31d0893d47e3d147b3a1597bbede7de65281a62f (patch) | |
| tree | defd614c18e276b3c902cbac30749f406d67583e /contrib | |
| parent | 2420ad2f8f86494f9318ceaeea391502ee947095 (diff) | |
| download | passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar.gz passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar.bz2 passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar.lz passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar.xz passt-31d0893d47e3d147b3a1597bbede7de65281a62f.tar.zst passt-31d0893d47e3d147b3a1597bbede7de65281a62f.zip | |
passt, tcp: Inline CALL_PROTO_HANDLER() and merge tcp_timer()
Since 260075bde769 ("tcp, udp, fwd: Run all port scanning from a
single timer"), CALL_PROTO_HANDLER() has only one user (tcp), so
inline it at the call site and remove the macro.
Merge tcp_timer() into tcp_defer_handler(), moving the timer interval
check there, matching the pattern used by flow_defer_handler() and
fwd_scan_ports_timer().
The weak declaration and null check for tcp_defer_handler are also
dropped as the function is always defined.
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 'contrib')
0 files changed, 0 insertions, 0 deletions
