mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-18 09:24:31 +00:00
CLEANUP: quic: Remove useless free_quic_tx_pkts() function.
This function define but no more used since this commit: BUG/MAJOR: quic: Really ignore malformed ACK frames.
This commit is contained in:
parent
292dfdd78d
commit
e3e218b98e
@ -40,7 +40,6 @@ int quic_build_post_handshake_frames(struct quic_conn *qc);
|
||||
int qc_send_app_pkts(struct quic_conn *qc, struct list *frms);
|
||||
int qc_dgrams_retransmit(struct quic_conn *qc);
|
||||
int qc_notify_send(struct quic_conn *qc);
|
||||
void free_quic_tx_pkts(struct quic_conn *qc, struct list *pkts);
|
||||
void qc_prep_hdshk_fast_retrans(struct quic_conn *qc,
|
||||
struct list *ifrms, struct list *hfrms);
|
||||
int quic_generate_retry_token_aad(unsigned char *aad,
|
||||
|
@ -79,22 +79,6 @@ static inline void free_quic_tx_packet(struct quic_conn *qc,
|
||||
TRACE_LEAVE(QUIC_EV_CONN_TXPKT, qc);
|
||||
}
|
||||
|
||||
/* Free the TX packets of <pkts> list */
|
||||
void free_quic_tx_pkts(struct quic_conn *qc, struct list *pkts)
|
||||
{
|
||||
struct quic_tx_packet *pkt, *tmp;
|
||||
|
||||
TRACE_ENTER(QUIC_EV_CONN_TXPKT, qc);
|
||||
|
||||
list_for_each_entry_safe(pkt, tmp, pkts, list) {
|
||||
LIST_DELETE(&pkt->list);
|
||||
eb64_delete(&pkt->pn_node);
|
||||
free_quic_tx_packet(qc, pkt);
|
||||
}
|
||||
|
||||
TRACE_LEAVE(QUIC_EV_CONN_TXPKT, qc);
|
||||
}
|
||||
|
||||
/* Duplicate all frames from <pkt_frm_list> list into <out_frm_list> list
|
||||
* for <qc> QUIC connection.
|
||||
* This is a best effort function which never fails even if no memory could be
|
||||
|
Loading…
Reference in New Issue
Block a user