Skip to content
Snippets Groups Projects
Commit 53b8898e authored by Libor Peltan's avatar Libor Peltan Committed by Daniel Salzman
Browse files

xdp: dont close conns in SYN state...

...this also caused inconsistencies in syn_table and assert crash
parent ff7cb4cb
No related branches found
No related tags found
1 merge request!1394xdp-tcp: evolution and bugfixes
......@@ -296,7 +296,7 @@ void xdp_handle_sweep(xdp_handle_ctx_t *ctx)
if (ctx->syn_table == NULL) {
continue;
}
ret = knot_tcp_sweep(ctx->syn_table, ctx->tcp_idle_close, ctx->tcp_idle_reset,
ret = knot_tcp_sweep(ctx->syn_table, UINT32_MAX, ctx->tcp_idle_reset,
UINT32_MAX, ctx->tcp_syn_conns, SIZE_MAX, SIZE_MAX,
sweep_relays, XDP_BATCHLEN, &total_close, &total_reset);
if (ret == KNOT_EOK) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment