pasta: Clean up FIN connection flags once a connection is deleted
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
57d17292f9
commit
474b8e6fb7
1 changed files with 1 additions and 0 deletions
1
tcp.c
1
tcp.c
|
@ -1602,6 +1602,7 @@ static void tcp_splice_destroy(struct ctx *c, struct tcp_splice_conn *conn)
|
||||||
close(conn->from);
|
close(conn->from);
|
||||||
tcp_splice_state(conn, CLOSED);
|
tcp_splice_state(conn, CLOSED);
|
||||||
tcp_table_splice_compact(c, conn);
|
tcp_table_splice_compact(c, conn);
|
||||||
|
conn->from_fin_sent = conn->to_fin_sent = 0;
|
||||||
conn->from_read = conn->from_written = 0;
|
conn->from_read = conn->from_written = 0;
|
||||||
conn->to_read = conn->to_written = 0;
|
conn->to_read = conn->to_written = 0;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue