mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
MINOR: quic: do not use quic_conn after dropping it
quic_conn_drop decrement the refcount and may free the quic_conn if reaching 0. The quic_conn should not be dereferenced again after it in any case even for traces.
This commit is contained in:
parent
6c539c4b8c
commit
9c4da93796
@ -3426,8 +3426,9 @@ void quic_close(struct connection *conn, void *xprt_ctx)
|
||||
conn_ctx->wait_event.tasklet = NULL;
|
||||
}
|
||||
|
||||
quic_conn_drop(qc);
|
||||
TRACE_LEAVE(QUIC_EV_CONN_CLOSE, qc);
|
||||
|
||||
quic_conn_drop(qc);
|
||||
}
|
||||
|
||||
/* Callback called upon loss detection and PTO timer expirations. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user